Package com.powsybl.ucte.network
Class UcteNode
java.lang.Object
com.powsybl.ucte.network.UcteNode
- All Implemented Interfaces:
UcteRecord
,Comparable<UcteNode>
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
ConstructorDescriptionUcteNode
(UcteNodeCode code, String geographicalName, UcteNodeStatus status, UcteNodeTypeCode typeCode, double voltageReference, double activeLoad, double reactiveLoad, double activePowerGeneration, double reactivePowerGeneration, double minimumPermissibleActivePowerGeneration, double maximumPermissibleActivePowerGeneration, double minimumPermissibleReactivePowerGeneration, double maximumPermissibleReactivePowerGeneration, double staticOfPrimaryControl, double nominalPowerPrimaryControl, double threePhaseShortCircuitPower, double xrRatio, UctePowerPlantType powerPlantType) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
fix
(ReportNode reportNode) double
Gets active load (MW).double
Gets active power generation (MW).getCode()
Gets node code.Gets node geographical name.double
Gets maximum permissible active power generation (MW).double
Gets maximum permissible reactive power generation (MW).double
Gets minimum permissible active power generation (MW).double
Gets minimum permissible reactive power generation (MW).double
Gets nominal power for primary control (MW).Gets power plant type.double
Gets reactive load (MVar).double
Gets reactive power generation (MVar).double
Gets static of primary control (%).Gets node status.double
Gets three-phase short-circuit power (MVA).Gets node type code.double
Gets voltage reference value (0 not allowed) in kV.double
Gets X/R ratio.int
hashCode()
boolean
boolean
boolean
void
setActiveLoad
(double activeLoad) Gets active load (MW).void
setActivePowerGeneration
(double activePowerGeneration) Sets active power generation (MW).void
setCode
(UcteNodeCode code) Sets node code.void
setGeographicalName
(String geographicalName) Sets node geographical name.void
setMaximumPermissibleActivePowerGeneration
(double maximumPermissibleActivePowerGeneration) Sets maximum permissible active power generation (MW).void
setMaximumPermissibleReactivePowerGeneration
(double maximumPermissibleReactivePowerGeneration) Sets maximum permissible reactive power generation (MW).void
setMinimumPermissibleActivePowerGeneration
(double minimumPermissibleActivePowerGeneration) Sets minimum permissible active power generation (MW).void
setMinimumPermissibleReactivePowerGeneration
(double minimumPermissibleReactivePowerGeneration) Sets minimum permissible reactive power generation (MW).void
setNominalPowerPrimaryControl
(double nominalPowerPrimaryControl) Sets nominal power for primary control (MW).void
setPowerPlantType
(UctePowerPlantType powerPlantType) Sets power plant type.void
setReactiveLoad
(double reactiveLoad) Sets reactive load (MVar).void
setReactivePowerGeneration
(double reactivePowerGeneration) Sets reactive power generation (MVar).void
setStaticOfPrimaryControl
(double staticOfPrimaryControl) Sets static of primary control (%).void
setStatus
(UcteNodeStatus status) Sets node status.void
setThreePhaseShortCircuitPower
(double threePhaseShortCircuitPower) Sets three-phase short-circuit power (MVA).void
setTypeCode
(UcteNodeTypeCode typeCode) Sets node type code.void
setVoltageReference
(double voltageReference) Sets voltage reference value (0 not allowed) in kV.void
setXrRatio
(double xrRatio) Sets X/R ratio.toString()
-
Constructor Details
-
UcteNode
public UcteNode(UcteNodeCode code, String geographicalName, UcteNodeStatus status, UcteNodeTypeCode typeCode, double voltageReference, double activeLoad, double reactiveLoad, double activePowerGeneration, double reactivePowerGeneration, double minimumPermissibleActivePowerGeneration, double maximumPermissibleActivePowerGeneration, double minimumPermissibleReactivePowerGeneration, double maximumPermissibleReactivePowerGeneration, double staticOfPrimaryControl, double nominalPowerPrimaryControl, double threePhaseShortCircuitPower, double xrRatio, UctePowerPlantType powerPlantType)
-
-
Method Details
-
getCode
Gets node code.- Returns:
- node code
-
setCode
Sets node code.- Parameters:
code
- node code
-
getGeographicalName
Gets node geographical name.- Returns:
- node geographical name
-
setGeographicalName
Sets node geographical name.- Parameters:
geographicalName
- node geographical name
-
getStatus
Gets node status.- Returns:
- node status
-
setStatus
Sets node status.- Parameters:
status
- node status
-
getTypeCode
Gets node type code.- Returns:
- node type code
-
setTypeCode
Sets node type code.- Parameters:
typeCode
- node type code
-
getVoltageReference
public double getVoltageReference()Gets voltage reference value (0 not allowed) in kV.- Returns:
- voltage reference value
-
setVoltageReference
public void setVoltageReference(double voltageReference) Sets voltage reference value (0 not allowed) in kV.- Parameters:
voltageReference
- voltage reference value
-
getActiveLoad
public double getActiveLoad()Gets active load (MW).- Returns:
- active load (MW)
-
setActiveLoad
public void setActiveLoad(double activeLoad) Gets active load (MW).- Parameters:
activeLoad
- active load (MW)
-
getReactiveLoad
public double getReactiveLoad()Gets reactive load (MVar).- Returns:
- reactive load (MVar)
-
setReactiveLoad
public void setReactiveLoad(double reactiveLoad) Sets reactive load (MVar).- Parameters:
reactiveLoad
- reactive load (MVar)
-
getActivePowerGeneration
public double getActivePowerGeneration()Gets active power generation (MW).- Returns:
- active power generation (MW)
-
setActivePowerGeneration
public void setActivePowerGeneration(double activePowerGeneration) Sets active power generation (MW).- Parameters:
activePowerGeneration
- active power generation (MW)
-
getReactivePowerGeneration
public double getReactivePowerGeneration()Gets reactive power generation (MVar).- Returns:
- reactive power generation (MVar)
-
setReactivePowerGeneration
public void setReactivePowerGeneration(double reactivePowerGeneration) Sets reactive power generation (MVar).- Parameters:
reactivePowerGeneration
- reactive power generation (MVar)
-
getMinimumPermissibleActivePowerGeneration
public double getMinimumPermissibleActivePowerGeneration()Gets minimum permissible active power generation (MW).Double.NaN
means undefined.- Returns:
- minimum permissible active power generation (MW)
-
setMinimumPermissibleActivePowerGeneration
public void setMinimumPermissibleActivePowerGeneration(double minimumPermissibleActivePowerGeneration) Sets minimum permissible active power generation (MW).Double.NaN
means undefined.- Parameters:
minimumPermissibleActivePowerGeneration
- minimum permissible active power generation (MW)
-
getMaximumPermissibleActivePowerGeneration
public double getMaximumPermissibleActivePowerGeneration()Gets maximum permissible active power generation (MW).Double.NaN
means undefined.- Returns:
- maximum permissible active power generation (MW)
-
setMaximumPermissibleActivePowerGeneration
public void setMaximumPermissibleActivePowerGeneration(double maximumPermissibleActivePowerGeneration) Sets maximum permissible active power generation (MW).Double.NaN
means undefined.- Parameters:
maximumPermissibleActivePowerGeneration
- maximum permissible active power generation (MW)
-
getMinimumPermissibleReactivePowerGeneration
public double getMinimumPermissibleReactivePowerGeneration()Gets minimum permissible reactive power generation (MW).Double.NaN
means undefined.- Returns:
- minimum permissible reactive power generation (MW)
-
setMinimumPermissibleReactivePowerGeneration
public void setMinimumPermissibleReactivePowerGeneration(double minimumPermissibleReactivePowerGeneration) Sets minimum permissible reactive power generation (MW).Double.NaN
means undefined.- Parameters:
minimumPermissibleReactivePowerGeneration
- minimum permissible reactive power generation (MW)
-
getMaximumPermissibleReactivePowerGeneration
public double getMaximumPermissibleReactivePowerGeneration()Gets maximum permissible reactive power generation (MW).Double.NaN
means undefined.- Returns:
- maximum permissible reactive power generation (MW)
-
setMaximumPermissibleReactivePowerGeneration
public void setMaximumPermissibleReactivePowerGeneration(double maximumPermissibleReactivePowerGeneration) Sets maximum permissible reactive power generation (MW).Double.NaN
means undefined.- Parameters:
maximumPermissibleReactivePowerGeneration
- maximum permissible reactive power generation (MW)
-
getStaticOfPrimaryControl
public double getStaticOfPrimaryControl()Gets static of primary control (%).Double.NaN
means undefined.- Returns:
- static of primary control (%)
-
setStaticOfPrimaryControl
public void setStaticOfPrimaryControl(double staticOfPrimaryControl) Sets static of primary control (%).Double.NaN
means undefined.- Parameters:
staticOfPrimaryControl
- static of primary control (%)
-
getNominalPowerPrimaryControl
public double getNominalPowerPrimaryControl()Gets nominal power for primary control (MW).Double.NaN
means undefined.- Returns:
- nominal power for primary control (MW)
-
setNominalPowerPrimaryControl
public void setNominalPowerPrimaryControl(double nominalPowerPrimaryControl) Sets nominal power for primary control (MW).Double.NaN
means undefined.- Parameters:
nominalPowerPrimaryControl
- nominal power for primary control (MW)
-
getThreePhaseShortCircuitPower
public double getThreePhaseShortCircuitPower()Gets three-phase short-circuit power (MVA).Double.NaN
means undefined.- Returns:
- three-phase short-circuit power (MVA)
-
setThreePhaseShortCircuitPower
public void setThreePhaseShortCircuitPower(double threePhaseShortCircuitPower) Sets three-phase short-circuit power (MVA).Double.NaN
means undefined.- Parameters:
threePhaseShortCircuitPower
- three-phase short-circuit power (MVA)
-
getXrRatio
public double getXrRatio()Gets X/R ratio.Double.NaN
means undefined.- Returns:
- X/R ratio
-
setXrRatio
public void setXrRatio(double xrRatio) Sets X/R ratio.Double.NaN
means undefined.- Parameters:
xrRatio
- X/R ratio
-
getPowerPlantType
Gets power plant type.null
means undefined.- Returns:
- power plant type
-
setPowerPlantType
Sets power plant type.null
means undefined.- Parameters:
powerPlantType
- power plant type
-
isGenerator
public boolean isGenerator() -
isRegulatingVoltage
public boolean isRegulatingVoltage() -
isRegulatingFrequency
public boolean isRegulatingFrequency() -
fix
- Specified by:
fix
in interfaceUcteRecord
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<UcteNode>
-