|
DPsim
|
Common base for three-phase switches. More...
#include <Base_Ph3_Switch.h>
Public Member Functions | |
| Switch (CPS::AttributeList::Ptr attributeList) | |
| virtual | ~Switch ()=default |
| void | setParameters (Matrix openResistance, Matrix closedResistance, Bool closed=false) |
| virtual void | closeSwitch () |
| virtual void | openSwitch () |
| Bool | isClosed () |
| Check commanded/global state. | |
Public Attributes | |
| const CPS::Attribute< Matrix >::Ptr | mOpenResistance |
| Resistance if switch is open [ohm]. | |
| const CPS::Attribute< Matrix >::Ptr | mClosedResistance |
| Resistance if switch is closed [ohm]. | |
| const CPS::Attribute< Bool >::Ptr | mIsClosed |
| Commanded/global switch state. | |
Protected Attributes | |
| Bool | mIsClosedPrev = false |
Common base for three-phase switches.
Definition at line 19 of file Base_Ph3_Switch.h.
|
inlineexplicit |
Definition at line 31 of file Base_Ph3_Switch.h.
|
virtualdefault |
|
inlinevirtual |
Close command.
Virtual so domain-specific breaker models can distinguish commanded state from the physical pole state.
Reimplemented in CPS::DP::Ph3::Switch, and CPS::EMT::Ph3::Switch.
Definition at line 49 of file Base_Ph3_Switch.h.
|
inline |
Check commanded/global state.
Definition at line 58 of file Base_Ph3_Switch.h.
|
inlinevirtual |
Open command.
Virtual so EMT/DP current-zero breakers can remain physically conducting after the command until the individual phase currents reach zero.
Reimplemented in CPS::DP::Ph3::Switch, and CPS::EMT::Ph3::Switch.
Definition at line 55 of file Base_Ph3_Switch.h.
|
inline |
Definition at line 38 of file Base_Ph3_Switch.h.
| const CPS::Attribute<Matrix>::Ptr CPS::Base::Ph3::Switch::mClosedResistance |
Resistance if switch is closed [ohm].
Definition at line 27 of file Base_Ph3_Switch.h.
| const CPS::Attribute<Bool>::Ptr CPS::Base::Ph3::Switch::mIsClosed |
Commanded/global switch state.
Definition at line 29 of file Base_Ph3_Switch.h.
|
protected |
Definition at line 21 of file Base_Ph3_Switch.h.
| const CPS::Attribute<Matrix>::Ptr CPS::Base::Ph3::Switch::mOpenResistance |
Resistance if switch is open [ohm].
Definition at line 25 of file Base_Ph3_Switch.h.