public class UcteElement extends Object implements UcteRecord
Modifier | Constructor and Description |
---|---|
protected |
UcteElement(UcteElementId id,
UcteElementStatus status,
float resistance,
float reactance,
float susceptance,
Integer currentLimit,
String elementName) |
Modifier and Type | Method and Description |
---|---|
void |
fix() |
Integer |
getCurrentLimit()
Gets current limit Ι (A).
|
String |
getElementName()
Gets element name (optional).
|
UcteElementId |
getId()
Gets element id.
|
float |
getReactance()
Gets reactance X (Ω).
|
float |
getResistance()
Gets resistance R (Ω).
|
UcteElementStatus |
getStatus()
Gets element status.
|
float |
getSusceptance()
Gets susceptance B (μS).
|
void |
setCurrentLimit(Integer currentLimit)
Sets current limit Ι (A).
|
void |
setElementName(String elementName)
Sets element name (optional).
|
void |
setReactance(float reactance)
Sets reactance X (Ω).
|
void |
setResistance(float resistance)
Sets resistance R (Ω).
|
void |
setStatus(UcteElementStatus status)
Sets element status.
|
void |
setSusceptance(float susceptance)
Sets susceptance B (μS).
|
String |
toString() |
protected UcteElement(UcteElementId id, UcteElementStatus status, float resistance, float reactance, float susceptance, Integer currentLimit, String elementName)
public UcteElementId getId()
public UcteElementStatus getStatus()
public void setStatus(UcteElementStatus status)
status
- element statuspublic float getResistance()
public void setResistance(float resistance)
resistance
- resistance R (Ω)public float getReactance()
The absolute value of the reactance for lines has to be greater than or equal to 0.050 Ω (to avoid division by values near to zero in load flow calculation)
public void setReactance(float reactance)
The absolute value of the reactance for lines has to be greater than or equal to 0.050 Ω (to avoid division by values near to zero in load flow calculation)
reactance
- reactance X (Ω)public float getSusceptance()
public void setSusceptance(float susceptance)
susceptance
- susceptance B (μS)public Integer getCurrentLimit()
public void setCurrentLimit(Integer currentLimit)
currentLimit
- current limit Ι (A)public String getElementName()
public void setElementName(String elementName)
elementName
- element namepublic void fix()
fix
in interface UcteRecord
Copyright © 2020. All rights reserved.