gridiq.network
Class Line
java.lang.Object
gridiq.network.Line
public class Line
- extends java.lang.Object
This represents a power line between two buses in an electricity network.
The Line
holds a reference to two Buses
, one at either
end of the line, referred to as the from bus and to bus.
Constructor Summary |
Line()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Line
public Line()
getFromBus
public Bus getFromBus()
setFromBus
public void setFromBus(Bus bus)
getToBus
public Bus getToBus()
setToBus
public void setToBus(Bus bus)
getPowerRating
public double getPowerRating()
setPowerRating
public void setPowerRating(double powerRating)
getVoltageRating
public double getVoltageRating()
setVoltageRating
public void setVoltageRating(double voltageRating)
getFrequencyRating
public double getFrequencyRating()
setFrequencyRating
public void setFrequencyRating(double frequencyRating)
getLength
public double getLength()
setLength
public void setLength(double length)
getResistance
public double getResistance()
setResistance
public void setResistance(double resistance)
getReactance
public double getReactance()
setReactance
public void setReactance(double reactance)
getSusceptance
public double getSusceptance()
setSusceptance
public void setSusceptance(double susceptance)
getCurrentLimit
public double getCurrentLimit()
setCurrentLimit
public void setCurrentLimit(double currentLimit)
getActivePowerLimit
public double getActivePowerLimit()
setActivePowerLimit
public void setActivePowerLimit(double activePowerLimit)
getApparentPowerLimit
public double getApparentPowerLimit()
setApparentPowerLimit
public void setApparentPowerLimit(double apparentPowerLimit)
isConnectionStatus
public boolean isConnectionStatus()
setConnectionStatus
public void setConnectionStatus(boolean connectionStatus)