gridiq.network
Class Line

java.lang.Object
  extended by 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()
           
 
Method Summary
 double getActivePowerLimit()
           
 double getApparentPowerLimit()
           
 double getCurrentLimit()
           
 double getFrequencyRating()
           
 Bus getFromBus()
           
 double getLength()
           
 double getPowerRating()
           
 double getReactance()
           
 double getResistance()
           
 double getSusceptance()
           
 Bus getToBus()
           
 double getVoltageRating()
           
 boolean isConnectionStatus()
           
 void setActivePowerLimit(double activePowerLimit)
           
 void setApparentPowerLimit(double apparentPowerLimit)
           
 void setConnectionStatus(boolean connectionStatus)
           
 void setCurrentLimit(double currentLimit)
           
 void setFrequencyRating(double frequencyRating)
           
 void setFromBus(Bus bus)
           
 void setLength(double length)
           
 void setPowerRating(double powerRating)
           
 void setReactance(double reactance)
           
 void setResistance(double resistance)
           
 void setSusceptance(double susceptance)
           
 void setToBus(Bus bus)
           
 void setVoltageRating(double voltageRating)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Line

public Line()
Method Detail

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)