Package com.powsybl.ucte.network
Class UcteNode
- java.lang.Object
-
- com.powsybl.ucte.network.UcteNode
-
- All Implemented Interfaces:
UcteRecord
,Comparable<UcteNode>
public class UcteNode extends Object implements UcteRecord, Comparable<UcteNode>
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(UcteNode ucteNode)
boolean
equals(Object obj)
void
fix(Reporter reporter)
double
getActiveLoad()
Gets active load (MW).double
getActivePowerGeneration()
Gets active power generation (MW).UcteNodeCode
getCode()
Gets node code.String
getGeographicalName()
Gets node geographical name.double
getMaximumPermissibleActivePowerGeneration()
Gets maximum permissible active power generation (MW).double
getMaximumPermissibleReactivePowerGeneration()
Gets maximum permissible reactive power generation (MW).double
getMinimumPermissibleActivePowerGeneration()
Gets minimum permissible active power generation (MW).double
getMinimumPermissibleReactivePowerGeneration()
Gets minimum permissible reactive power generation (MW).double
getNominalPowerPrimaryControl()
Gets nominal power for primary control (MW).UctePowerPlantType
getPowerPlantType()
Gets power plant type.double
getReactiveLoad()
Gets reactive load (MVar).double
getReactivePowerGeneration()
Gets reactive power generation (MVar).double
getStaticOfPrimaryControl()
Gets static of primary control (%).UcteNodeStatus
getStatus()
Gets node status.double
getThreePhaseShortCircuitPower()
Gets three phase short circuit power (MVA).UcteNodeTypeCode
getTypeCode()
Gets node type code.double
getVoltageReference()
Gets voltage reference value (0 not allowed) in kV.double
getXrRatio()
Gets X/R ratio.int
hashCode()
boolean
isGenerator()
boolean
isRegulatingFrequency()
boolean
isRegulatingVoltage()
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.String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
getCode
public UcteNodeCode getCode()
Gets node code.- Returns:
- node code
-
setCode
public void setCode(UcteNodeCode code)
Sets node code.- Parameters:
code
- node code
-
getGeographicalName
public String getGeographicalName()
Gets node geographical name.- Returns:
- node geographical name
-
setGeographicalName
public void setGeographicalName(String geographicalName)
Sets node geographical name.- Parameters:
geographicalName
- node geographical name
-
getStatus
public UcteNodeStatus getStatus()
Gets node status.- Returns:
- node status
-
setStatus
public void setStatus(UcteNodeStatus status)
Sets node status.- Parameters:
status
- node status
-
getTypeCode
public UcteNodeTypeCode getTypeCode()
Gets node type code.- Returns:
- node type code
-
setTypeCode
public void setTypeCode(UcteNodeTypeCode typeCode)
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
public UctePowerPlantType getPowerPlantType()
Gets power plant type.null
means undefined.- Returns:
- power plant type
-
setPowerPlantType
public void setPowerPlantType(UctePowerPlantType powerPlantType)
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
public void fix(Reporter reporter)
- Specified by:
fix
in interfaceUcteRecord
-
compareTo
public int compareTo(UcteNode ucteNode)
- Specified by:
compareTo
in interfaceComparable<UcteNode>
-
-