|
DPsim
|
Dynamic Phasor Three-Phase Switch. More...
#include <Base_Ph1_Switch.h>
Public Member Functions | |
| Switch (CPS::AttributeList::Ptr attributeList) | |
| void | setParameters (Real openResistance, Real closedResistance, Bool closed=false) |
| 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.
|
inline |
Close switch.
Definition at line 44 of file Base_Ph1_Switch.h.
|
inline |
Check if switch is closed.
Definition at line 48 of file Base_Ph1_Switch.h.
|
inline |
Open switch.
Definition at line 46 of file Base_Ph1_Switch.h.
|
inline |
Definition at line 36 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.