DPsim
Loading...
Searching...
No Matches
CPS::Base::Ph3::Switch Class Reference

Dynamic Phasor Three-Phase Switch. More...

#include <Base_Ph3_Switch.h>

Inheritance diagram for CPS::Base::Ph3::Switch:
[legend]
Collaboration diagram for CPS::Base::Ph3::Switch:
[legend]

Public Member Functions

 Switch (CPS::AttributeList::Ptr attributeList)
 
void setParameters (Matrix openResistance, Matrix closedResistance, Bool closed=false)
 
void closeSwitch ()
 
void openSwitch ()
 
Bool isClosed ()
 Check if switch is closed.
 

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
 Defines if Switch is open or closed.
 

Protected Attributes

Bool mIsClosedPrev = false
 

Detailed Description

Dynamic Phasor Three-Phase Switch.

Definition at line 17 of file Base_Ph3_Switch.h.

Constructor & Destructor Documentation

◆ Switch()

CPS::Base::Ph3::Switch::Switch ( CPS::AttributeList::Ptr attributeList)
inlineexplicit

Definition at line 29 of file Base_Ph3_Switch.h.

Member Function Documentation

◆ closeSwitch()

void CPS::Base::Ph3::Switch::closeSwitch ( )
inline

Definition at line 41 of file Base_Ph3_Switch.h.

◆ isClosed()

Bool CPS::Base::Ph3::Switch::isClosed ( )
inline

Check if switch is closed.

Definition at line 45 of file Base_Ph3_Switch.h.

◆ openSwitch()

void CPS::Base::Ph3::Switch::openSwitch ( )
inline

Definition at line 42 of file Base_Ph3_Switch.h.

◆ setParameters()

void CPS::Base::Ph3::Switch::setParameters ( Matrix openResistance,
Matrix closedResistance,
Bool closed = false )
inline

Definition at line 35 of file Base_Ph3_Switch.h.

Member Data Documentation

◆ mClosedResistance

const CPS::Attribute<Matrix>::Ptr CPS::Base::Ph3::Switch::mClosedResistance

Resistance if switch is closed [ohm].

Definition at line 25 of file Base_Ph3_Switch.h.

◆ mIsClosed

const CPS::Attribute<Bool>::Ptr CPS::Base::Ph3::Switch::mIsClosed

Defines if Switch is open or closed.

Definition at line 27 of file Base_Ph3_Switch.h.

◆ mIsClosedPrev

Bool CPS::Base::Ph3::Switch::mIsClosedPrev = false
protected

Definition at line 19 of file Base_Ph3_Switch.h.

◆ mOpenResistance

const CPS::Attribute<Matrix>::Ptr CPS::Base::Ph3::Switch::mOpenResistance

Resistance if switch is open [ohm].

Definition at line 23 of file Base_Ph3_Switch.h.


The documentation for this class was generated from the following file: