Commit 926a1dce authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

python: add missing Compontents (closes #118)

Former-commit-id: 671ca378
parent b20bff79
Subproject commit c8daca4e5f2fbcbe4ca49c0917e975deacf7a43e
Subproject commit a2a1716095d4c4d8db91e89edfa5484b6128c352
......@@ -51,21 +51,28 @@ static PyMethodDef dpsimModuleMethods[] = {
Component::constructorDef<CPS::DP::Ph1::Capacitor>("_dp_ph1_Capacitor"),
Component::constructorDef<CPS::DP::Ph1::CurrentSource>("_dp_ph1_CurrentSource"),
Component::constructorDef<CPS::DP::Ph1::Inductor>("_dp_ph1_Inductor"),
Component::constructorDef<CPS::DP::Ph1::PQLoadCS>("_dp_ph1_PQLoadCS"),
Component::constructorDef<CPS::DP::Ph1::Inverter>("_dp_ph1_Inverter"),
Component::constructorDef<CPS::DP::Ph1::PiLine>("_dp_ph1_PiLine"),
Component::constructorDef<CPS::DP::Ph1::RXLoad>("_dp_ph1_RXLoad"),
Component::constructorDef<CPS::DP::Ph1::PQLoadCS>("_dp_ph1_PQLoadCS"),
Component::constructorDef<CPS::DP::Ph1::Resistor>("_dp_ph1_Resistor"),
Component::constructorDef<CPS::DP::Ph1::RxLine>("_dp_ph1_RxLine"),
Component::constructorDef<CPS::DP::Ph1::RXLoad>("_dp_ph1_RXLoad"),
Component::constructorDef<CPS::DP::Ph1::Switch>("_dp_ph1_Switch"),
Component::constructorDef<CPS::DP::Ph1::SynchronGeneratorIdeal>("_dp_ph1_SynchronGeneratorIdeal"),
Component::constructorDef<CPS::DP::Ph1::SynchronGeneratorTrStab>("_dp_ph1_SynchronGeneratorTrStab"),
Component::constructorDef<CPS::DP::Ph1::Transformer>("_dp_ph1_Transformer"),
Component::constructorDef<CPS::DP::Ph1::VoltageSource>("_dp_ph1_VoltageSource"),
Component::constructorDef<CPS::DP::Ph1::VoltageSourceRamp>("_dp_ph1_VoltageSourceRamp"),
Component::constructorDef<CPS::DP::Ph1::VoltageSourceNorton>("_dp_ph1_VoltageSourceNorton"),
Component::constructorDef<CPS::DP::Ph1::VoltageSourceNorton>("_dp_ph1_VoltageSourceNorton"),
Component::constructorDef<CPS::DP::Ph1::VoltageSourceRamp>("_dp_ph1_VoltageSourceRamp"),
Component::constructorDef<CPS::DP::Ph3::SeriesResistor>("_dp_ph3_SeriesResistor"),
Component::constructorDef<CPS::DP::Ph3::SeriesSwitch>("_dp_ph3_SeriesSwitch"),
// Component::constructorDef<CPS::DP::Ph3::SynchronGeneratorDQSmpl>("_dp_ph3_SynchronGeneratorDQSmpl"),
Component::constructorDef<CPS::DP::Ph3::SynchronGeneratorDQTrapez>("_dp_ph3_SynchronGeneratorDQTrapez"),
// Component::constructorDef<CPS::DP::Ph3::SynchronGeneratorVBR>("_dp_ph3_SynchronGeneratorVBR"),
// Component::constructorDef<CPS::DP::Ph3::SynchronGeneratorVBRStandalone>("_dp_ph3_SynchronGeneratorVBRStandalone"),
#ifdef WITH_SUNDIALS
Component::constructorDef<CPS::DP::Ph3::SynchronGeneratorDQODE>("_dp_ph3_SynchronGeneratorDQODE"),
#endif
......@@ -76,19 +83,33 @@ static PyMethodDef dpsimModuleMethods[] = {
Component::constructorDef<CPS::EMT::Ph1::Inductor>("_emt_ph1_Inductor"),
Component::constructorDef<CPS::EMT::Ph1::Resistor>("_emt_ph1_Resistor"),
Component::constructorDef<CPS::EMT::Ph1::VoltageSource>("_emt_ph1_VoltageSource"),
Component::constructorDef<CPS::EMT::Ph1::VoltageSourceRamp>("_emt_ph1_VoltageSourceRamp"),
Component::constructorDef<CPS::EMT::Ph1::VoltageSourceNorton>("_emt_ph1_VoltageSourceNorton"),
Component::constructorDef<CPS::EMT::Ph1::VoltageSourceRamp>("_emt_ph1_VoltageSourceRamp"),
// Component::constructorDef<CPS::EMT::Ph3::SynchronGeneratorDQ>("_emt_ph3_SynchronGeneratorDQ"),
// Component::constructorDef<CPS::EMT::Ph3::SynchronGeneratorDQSmpl>("_emt_ph3_SynchronGeneratorDQSmpl"),
// Component::constructorDef<CPS::EMT::Ph3::SynchronGeneratorDQSmplCompSource>("_emt_ph3_SynchronGeneratorDQSmplCompSource"),
// Component::constructorDef<CPS::EMT::Ph3::SynchronGeneratorVBR>("_emt_ph3_SynchronGeneratorVBR"),
// Component::constructorDef<CPS::EMT::Ph3::SynchronGeneratorVBRSmpl>("_emt_ph3_SynchronGeneratorVBRSmpl"),
// Component::constructorDef<CPS::EMT::Ph3::SynchronGeneratorVBRStandalone>("_emt_ph3_SynchronGeneratorVBRStandalone"),
// Static Phasor (SP)
Component::constructorDef<CPS::Static::Ph1::PiLine>("_sp_ph1_PiLine"),
Component::constructorDef<CPS::Static::Ph1::VD>("_sp_ph1_VD"),
Component::constructorDef<CPS::Static::Ph1::Load>("_sp_ph1_Load"),
Component::constructorDef<CPS::Static::Ph1::externalGridInjection>("_sp_ph1_externalGridInjection"),
Component::constructorDef<CPS::Static::Ph1::Load>("_sp_ph1_Load"),
Component::constructorDef<CPS::Static::Ph1::PiLine>("_sp_ph1_PiLine"),
Component::constructorDef<CPS::Static::Ph1::PQ>("_sp_ph1_PQ"),
Component::constructorDef<CPS::Static::Ph1::PV>("_sp_ph1_PV"),
Component::constructorDef<CPS::Static::Ph1::Transformer>("_sp_ph1_Transformer"),
Component::constructorDef<CPS::Static::Ph1::Shunt>("_sp_ph1_Shunt"),
Component::constructorDef<CPS::Static::Ph1::SynchronGenerator>("_sp_ph1_SynchronGenerator"),
Component::constructorDef<CPS::Static::Ph1::PQ>("_sp_ph1_PQ"),
Component::constructorDef<CPS::Static::Ph1::Transformer>("_sp_ph1_Transformer"),
Component::constructorDef<CPS::Static::Ph1::VD>("_sp_ph1_VD"),
// Control Signal
// ToDo: Support signal components in Python
// Component::constructorDef<CPS::Signal::DecouplingLine>("_signal_DecouplingLine"),
// Component::constructorDef<CPS::Signal::Exciter>("_signal_Exciter"),
// Component::constructorDef<CPS::Signal::FIRFilter>("_signal_FIRFilter"),
// Component::constructorDef<CPS::Signal::TurbineGovernor>("_signal_TurbineGovernor"),
{ nullptr }
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment