Class LfLoadImpl
java.lang.Object
com.powsybl.openloadflow.network.AbstractPropertyBag
com.powsybl.openloadflow.network.impl.AbstractLfInjection
com.powsybl.openloadflow.network.impl.LfLoadImpl
- All Implemented Interfaces:
LfLoad
,PropertyBag
- Author:
- Anne Tilloy <anne.tilloy at rte-france.com>
-
Field Summary
Fields inherited from class com.powsybl.openloadflow.network.impl.AbstractLfInjection
initialTargetP, targetP
Fields inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
properties
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(com.powsybl.iidm.network.DanglingLine danglingLine) double
calculateNewTargetQ
(double diffTargetP) boolean
double
getBus()
getId()
double
getP()
getQ()
double
boolean
isOriginalLoadDisabled
(String originalId) void
setAbsVariableTargetP
(double absVariableTargetP) void
setOriginalLoadDisabled
(String originalId, boolean disabled) void
setOriginalLoadsDisablingStatus
(Map<String, Boolean> originalLoadsDisablingStatus) void
void
void
setTargetP
(double targetP) void
setTargetQ
(double targetQ) void
updateState
(boolean loadPowerFactorConstant, boolean breakers) Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfInjection
getInitialTargetP, getTargetP
Methods inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
getProperty, removeProperty, setProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.openloadflow.network.LfLoad
getInitialTargetP, getTargetP
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
Method Details
-
getId
-
getOriginalIds
- Specified by:
getOriginalIds
in interfaceLfLoad
-
getBus
-
getLoadModel
- Specified by:
getLoadModel
in interfaceLfLoad
-
add
public void add(com.powsybl.iidm.network.DanglingLine danglingLine) -
setTargetP
public void setTargetP(double targetP) - Specified by:
setTargetP
in interfaceLfLoad
-
getTargetQ
public double getTargetQ()- Specified by:
getTargetQ
in interfaceLfLoad
-
setTargetQ
public void setTargetQ(double targetQ) - Specified by:
setTargetQ
in interfaceLfLoad
-
ensurePowerFactorConstantByLoad
public boolean ensurePowerFactorConstantByLoad()- Specified by:
ensurePowerFactorConstantByLoad
in interfaceLfLoad
-
getAbsVariableTargetP
public double getAbsVariableTargetP()- Specified by:
getAbsVariableTargetP
in interfaceLfLoad
-
setAbsVariableTargetP
public void setAbsVariableTargetP(double absVariableTargetP) - Specified by:
setAbsVariableTargetP
in interfaceLfLoad
-
getOriginalLoadCount
public double getOriginalLoadCount()- Specified by:
getOriginalLoadCount
in interfaceLfLoad
-
updateState
public void updateState(boolean loadPowerFactorConstant, boolean breakers) - Specified by:
updateState
in interfaceLfLoad
-
calculateNewTargetQ
public double calculateNewTargetQ(double diffTargetP) - Specified by:
calculateNewTargetQ
in interfaceLfLoad
-
isOriginalLoadDisabled
- Specified by:
isOriginalLoadDisabled
in interfaceLfLoad
-
setOriginalLoadDisabled
- Specified by:
setOriginalLoadDisabled
in interfaceLfLoad
-
getOriginalLoadsDisablingStatus
- Specified by:
getOriginalLoadsDisablingStatus
in interfaceLfLoad
-
setOriginalLoadsDisablingStatus
- Specified by:
setOriginalLoadsDisablingStatus
in interfaceLfLoad
-
getP
-
setP
-
getQ
-
setQ
-