|
DPsim
|
Dynamic Phasor Three-Phase Switch. More...
#include <Base_Ph1_Switch.h>
Public Member Functions | |
| Switch (CPS::AttributeList::Ptr attributeList) | |
| virtual | ~Switch ()=default |
| void | setParameters (Real openResistance, Real closedResistance, Bool closed=false) |
| virtual void | closeSwitch () |
| virtual void | openSwitch () |
| void | close () |
| Close switch. | |
| void | open () |
| Open switch. | |
| Bool | isClosed () |
| Check if switch is closed. | |
Public Attributes | |
| const Attribute< Real >::Ptr | mOpenResistance |
| Resistance if switch is open [ohm]. | |
| const Attribute< Real >::Ptr | mClosedResistance |
| Resistance if switch is closed [ohm]. | |
| const Attribute< Bool >::Ptr | mIsClosed |
| Defines if Switch is open or closed. | |
Protected Attributes | |
| Bool | mIsClosedPrev = false |
Dynamic Phasor Three-Phase Switch.
Definition at line 18 of file Base_Ph1_Switch.h.
|
inlineexplicit |
Definition at line 30 of file Base_Ph1_Switch.h.
|
virtualdefault |
|
inline |
Close switch.
Definition at line 58 of file Base_Ph1_Switch.h.
|
inlinevirtual |
Close command.
Virtual so domain-specific breaker models can distinguish commanded state from the physical pole state.
Reimplemented in CPS::DP::Ph1::Switch.
Definition at line 49 of file Base_Ph1_Switch.h.
|
inline |
Check if switch is closed.
Definition at line 62 of file Base_Ph1_Switch.h.
|
inline |
Open switch.
Definition at line 60 of file Base_Ph1_Switch.h.
|
inlinevirtual |
Open command.
Virtual so current-zero breakers can remain physically conducting after the command until the current reaches zero.
Reimplemented in CPS::DP::Ph1::Switch.
Definition at line 55 of file Base_Ph1_Switch.h.
|
inline |
Definition at line 38 of file Base_Ph1_Switch.h.
Resistance if switch is closed [ohm].
Definition at line 26 of file Base_Ph1_Switch.h.
Defines if Switch is open or closed.
Definition at line 28 of file Base_Ph1_Switch.h.
|
protected |
Definition at line 20 of file Base_Ph1_Switch.h.
Resistance if switch is open [ohm].
Definition at line 24 of file Base_Ph1_Switch.h.