Skip to content

Commit

Permalink
pipeline fix
Browse files Browse the repository at this point in the history
Signed-off-by: Marvin Tollnitsch <marvin.tollnitsch@rwth-aachen.de>
  • Loading branch information
MarvinTollnitschRWTH committed Sep 17, 2024
1 parent dfc8c1b commit c69c101
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
24 changes: 12 additions & 12 deletions dpsim-models/include/dpsim-models/EMT/EMT_Ph3_SSN_Capacitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ namespace Ph3 {
namespace SSN {
/// \brief Capacitor model
///
/// The SSN-capacitor is represented by a DC equivalent circuit which corresponds to one
/// iteration of the trapezoidal integration method.
/// The equivalent DC circuit is a resistance in series with a voltage source (real voltage source).
/// The resistance is constant for a defined time step and system
/// frequency and the voltage source changes for each iteration.
/// This component is meant to show an I-type SSN model
/// implementation based on a simple example element. The RC model should be used
/// over this if focussing on SSN model implementation is not the circuit's goal since
/// this model increases the system matrix dimensions by 1x1 (added virtual node,
/// real voltage source MNA scheme).
/// The SSN-capacitor is represented by a DC equivalent circuit which
/// corresponds to one iteration of the trapezoidal integration method.
/// The equivalent DC circuit is a resistance in series with a voltage
/// source (real voltage source). The resistance is constant for a defined
/// time step and system frequency and the voltage source changes for each
/// iteration. This component is meant to show an I-type SSN model
/// implementation based on a simple example element. The RC model should be
/// used over this if focussing on SSN model implementation is not the
/// circuit's goal since this model increases the system matrix dimensions
/// by 1x1 (added virtual node, real voltage source MNA scheme).
class Capacitor final : public MNASimPowerComp<Real>,
public Base::Ph3::Capacitor,
public SharedFactory<Capacitor> {
Expand All @@ -39,11 +39,11 @@ class Capacitor final : public MNASimPowerComp<Real>,
Capacitor(String name, Logger::Level logLevel = Logger::Level::off)
: Capacitor(name, name, logLevel) {}

SimPowerComp<Real>::Ptr clone(String name);
SimPowerComp<Real>::Ptr clone(String name) override;

// #### General ####
/// Initializes component from power flow data
void initializeFromNodesAndTerminals(Real frequency);
void initializeFromNodesAndTerminals(Real frequency) override;

// #### MNA section ####
/// Initializes internal variables of the component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ class Full_Serial_RLC final : public MNASimPowerComp<Real>,
Full_Serial_RLC(String name, Logger::Level logLevel = Logger::Level::off)
: Full_Serial_RLC(name, name, logLevel) {}

SimPowerComp<Real>::Ptr clone(String name);
SimPowerComp<Real>::Ptr clone(String name) override;
void setParameters(Matrix resistance, Matrix inductance, Matrix capacitance);

// #### General ####
/// Initializes component from power flow data
void initializeFromNodesAndTerminals(Real frequency);
void initializeFromNodesAndTerminals(Real frequency) override;

// #### MNA section ####
/// Initializes internal variables of the component
Expand Down
18 changes: 9 additions & 9 deletions dpsim-models/include/dpsim-models/EMT/EMT_Ph3_SSN_Inductor.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ namespace Ph3 {
namespace SSN {
/// \brief Inductor
///
/// The SSN-inductor is represented by a DC equivalent circuit which corresponds to
/// one iteration of the trapezoidal integration method.
/// The equivalent DC circuit is a resistance in parallel with a current source.
/// The resistance is constant for a defined time step and system
/// The SSN-inductor is represented by a DC equivalent circuit which
/// corresponds to one iteration of the trapezoidal integration method.
/// The equivalent DC circuit is a resistance in parallel with a current
/// source. The resistance is constant for a defined time step and system
/// frequency and the current source changes for each iteration.
/// This means that for the inductor the SSN and Resistive Companion models
/// are conceptionally the same and only variable names, structures and
/// state update timings differ. This component is meant to show a V-type SSN model
/// implementation based on a simple example element. The RC model should be used
/// over this otherwise.
/// state update timings differ. This component is meant to show a V-type SSN
/// model implementation based on a simple example element. Due to additional
/// calculation steps, the RC model should be used over this otherwise.
class Inductor final : public MNASimPowerComp<Real>,
public Base::Ph3::Inductor,
public SharedFactory<Inductor> {
Expand All @@ -38,11 +38,11 @@ class Inductor final : public MNASimPowerComp<Real>,
Inductor(String name, Logger::Level logLevel = Logger::Level::off)
: Inductor(name, name, logLevel) {}

SimPowerComp<Real>::Ptr clone(String name);
SimPowerComp<Real>::Ptr clone(String name) override;

// #### General ####
/// Initializes component from power flow data
void initializeFromNodesAndTerminals(Real frequency);
void initializeFromNodesAndTerminals(Real frequency) override;

// #### MNA section ####
/// Initializes internal variables of the component
Expand Down

0 comments on commit c69c101

Please sign in to comment.