Commit 75d38d0c authored by Jan Dinkelbach's avatar Jan Dinkelbach Committed by Markus Mirz
Browse files

remove deprecated maximum reactive power from SP syngen

parent 93205f90
......@@ -53,7 +53,7 @@ namespace Ph1 {
SynchronGenerator(String name, Logger::Level logLevel = Logger::Level::off)
: SynchronGenerator(name, name, logLevel) { }
/// Setter for synchronous generator parameters
void setParameters(Real ratedApparentPower, Real ratedVoltage, Real setPointActivePower, Real setPointVoltage, Real maximumReactivePower, PowerflowBusType powerflowBusType);
void setParameters(Real ratedApparentPower, Real ratedVoltage, Real setPointActivePower, Real setPointVoltage, PowerflowBusType powerflowBusType);
// #### Powerflow section ####
/// Set base voltage
......
......@@ -575,7 +575,6 @@ TopologicalPowerComp::Ptr Reader::mapSynchronousMachine(CIMPP::SynchronousMachin
unitValue(machine->ratedU.value, UnitMultiplier::k),
setPointActivePower,
setPointVoltage,
maximumReactivePower,
PowerflowBusType::PV);
gen->setBaseVoltage(unitValue(machine->ratedU.value, UnitMultiplier::k));
return gen;
......
......@@ -24,17 +24,15 @@ SP::Ph1::SynchronGenerator::SynchronGenerator(String uid, String name, Logger::L
addAttribute<Real>("V_set_pu", &mSetPointVoltagePerUnit, Flags::read | Flags::write);
};
void SP::Ph1::SynchronGenerator::setParameters(Real ratedApparentPower, Real ratedVoltage, Real setPointActivePower, Real setPointVoltage, Real maximumReactivePower, PowerflowBusType powerflowBusType) {
void SP::Ph1::SynchronGenerator::setParameters(Real ratedApparentPower, Real ratedVoltage, Real setPointActivePower, Real setPointVoltage, PowerflowBusType powerflowBusType) {
mRatedApparentPower = ratedApparentPower;
mRatedVoltage = ratedVoltage;
mSetPointActivePower = setPointActivePower;
mSetPointVoltage = setPointVoltage;
mMaximumReactivePower = maximumReactivePower;
mPowerflowBusType = powerflowBusType;
mSLog->info("Rated Apparent Power={} [VA] Rated Voltage={} [V]", mRatedApparentPower, mRatedVoltage);
mSLog->info("Active Power Set Point={} [W] Voltage Set Point={} [V]", mSetPointActivePower, mSetPointVoltage);
mSLog->info("Maximum Reactive Power={} [VAr]", mMaximumReactivePower);
mSLog->flush();
}
......
Markdown is supported
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