Skip to content

Commit

Permalink
#659 Fix .par when Rpcl2 and rectangular diagram
Browse files Browse the repository at this point in the history
Signed-off-by: COSSART Quentin <[email protected]>
  • Loading branch information
COSSART Quentin authored and rosiereflo committed Jun 23, 2023
1 parent efbf852 commit 0774c50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sources/Outputs/src/ParGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ std::string ParGenerator::getGeneratorMacroParameterSetId(ModelType modelType, b
case ModelType::SIGNALN_RECTANGULAR:
case ModelType::SIGNALN_TFO_RECTANGULAR:
case ModelType::SIGNALN_TFO_RPCL_RECTANGULAR:
case ModelType::SIGNALN_TFO_RPCL2_RECTANGULAR:
case ModelType::SIGNALN_RPCL_RECTANGULAR:
case ModelType::SIGNALN_RPCL2_RECTANGULAR:
id = fixedP ? helper::getMacroParameterSetId(constants::signalNGeneratorFixedPParIdRect)
: helper::getMacroParameterSetId(constants::signalNGeneratorParIdRect);
break;
Expand Down Expand Up @@ -168,7 +170,9 @@ boost::shared_ptr<parameters::MacroParameterSet> ParGenerator::buildGeneratorMac
case ModelType::SIGNALN_RECTANGULAR:
case ModelType::SIGNALN_TFO_RECTANGULAR:
case ModelType::SIGNALN_TFO_RPCL_RECTANGULAR:
case ModelType::SIGNALN_TFO_RPCL2_RECTANGULAR:
case ModelType::SIGNALN_RPCL_RECTANGULAR:
case ModelType::SIGNALN_RPCL2_RECTANGULAR:
macroParameterSet->addReference(helper::buildReference("generator_QMin", "qMin", "DOUBLE"));
macroParameterSet->addReference(helper::buildReference("generator_QMax", "qMax", "DOUBLE"));
macroParameterSet->addReference(helper::buildReference("generator_URef0Pu", "targetV_pu", "DOUBLE"));
Expand Down

0 comments on commit 0774c50

Please sign in to comment.