public class StaticVarCompensatorAdapter extends Object implements StaticVarCompensator
StaticVarCompensator.RegulationMode
Modifier and Type | Method and Description |
---|---|
<E extends Extension<I>> |
addExtension(Class<? super E> type,
E extension)
Add en extension to this extendable object.
|
double |
getBmax()
Get the maximum susceptance in S.
|
double |
getBmin()
Get the minimum susceptance in S.
|
protected I |
getDelegate() |
<E extends Extension<I>> |
getExtension(Class<? super E> type)
Get an extension based on its class type.
|
<E extends Extension<I>> |
getExtensionByName(String name)
Get an extension based on its name.
|
<E extends Extension<I>> |
getExtensions()
Get all extensions associated with this extendable object..
|
String |
getId()
Get the unique identifier of the object.
|
protected com.powsybl.iidm.mergingview.MergingViewIndex |
getIndex() |
String |
getNameOrId()
Get the name of the object if it exists.
|
MergingView |
getNetwork()
Get the network associated to the object.
|
Optional<String> |
getOptionalName()
Return an optional containing the name of the object if it exists.
|
String |
getProperty(String key)
Get property associated to specified key.
|
String |
getProperty(String key,
String defaultValue)
Get property associated to specified key, with default value.
|
Set<String> |
getPropertyNames()
Get properties key values.
|
double |
getReactivePowerSetPoint()
Get the reactive power setpoint in MVAR.
|
Terminal |
getRegulatingTerminal()
Get the terminal used for regulation.
|
StaticVarCompensator.RegulationMode |
getRegulationMode()
Get the regulating mode.
|
Terminal |
getTerminal()
Get the terminal.
|
List<? extends Terminal> |
getTerminals() |
ConnectableType |
getType()
Get the connectable type.
|
double |
getVoltageSetPoint()
Get the voltage setpoint in Kv.
|
boolean |
hasProperty()
Check that this object has some properties.
|
boolean |
hasProperty(String key)
Check that this object has property with specified name.
|
boolean |
isFictitious()
Get the fictitious status
|
<E extends Extension<I>,B extends ExtensionAdder<I,E>> |
newExtension(Class<B> type)
Returns an extensionAdder to build and add an extension for this extendable.
|
void |
remove()
Remove the equipment.
|
<E extends Extension<I>> |
removeExtension(Class<E> type)
Remove an extension based on its class type.
|
StaticVarCompensator |
setBmax(double bMax)
Set the maximum susceptance in S.
|
StaticVarCompensator |
setBmin(double bMin)
Set the minimum susceptance in S.
|
void |
setFictitious(boolean fictitious)
Set the fictitious status
|
String |
setProperty(String key,
String value)
Set property value associated to specified key.
|
StaticVarCompensator |
setReactivePowerSetPoint(double reactivePowerSetPoint)
Set the reactive power setpoint in MVAR.
|
StaticVarCompensator |
setRegulatingTerminal(Terminal regulatingTerminal)
Set the terminal used for regulation.
|
StaticVarCompensator |
setRegulationMode(StaticVarCompensator.RegulationMode regulationMode)
set the regulating mode.
|
StaticVarCompensator |
setVoltageSetPoint(double voltageSetPoint)
Set the voltage setpoint in Kv.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTerminal
getTerminals, getType, remove
getId, getName, getNameOrId, getNetwork, getOptionalName, getProperties, getProperty, getProperty, getPropertyNames, hasProperty, hasProperty, isFictitious, setFictitious, setProperty
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
public double getBmin()
StaticVarCompensator
getBmin
in interface StaticVarCompensator
public StaticVarCompensator setBmin(double bMin)
StaticVarCompensator
setBmin
in interface StaticVarCompensator
bMin
- minimum susceptancepublic double getBmax()
StaticVarCompensator
getBmax
in interface StaticVarCompensator
public StaticVarCompensator setBmax(double bMax)
StaticVarCompensator
setBmax
in interface StaticVarCompensator
bMax
- the maximum susceptancepublic double getVoltageSetPoint()
StaticVarCompensator
Get the voltage setpoint in Kv.
Needed only when regulating mode is set to StaticVarCompensator.RegulationMode.VOLTAGE
.
Depends on the working variant.
getVoltageSetPoint
in interface StaticVarCompensator
public StaticVarCompensator setVoltageSetPoint(double voltageSetPoint)
StaticVarCompensator
Set the voltage setpoint in Kv.
Needed only when regulating mode is set to StaticVarCompensator.RegulationMode.VOLTAGE
.
Depends on the working variant.
setVoltageSetPoint
in interface StaticVarCompensator
voltageSetPoint
- the voltage setpointpublic double getReactivePowerSetPoint()
StaticVarCompensator
Get the reactive power setpoint in MVAR.
Needed only when regulating mode is set to StaticVarCompensator.RegulationMode.REACTIVE_POWER
.
Depends on the working variant.
getReactivePowerSetPoint
in interface StaticVarCompensator
public StaticVarCompensator setReactivePowerSetPoint(double reactivePowerSetPoint)
StaticVarCompensator
Set the reactive power setpoint in MVAR.
Needed only when regulating mode is set to StaticVarCompensator.RegulationMode.REACTIVE_POWER
.
Depends on the working variant.
setReactivePowerSetPoint
in interface StaticVarCompensator
reactivePowerSetPoint
- the reactive power setpointpublic StaticVarCompensator.RegulationMode getRegulationMode()
StaticVarCompensator
Get the regulating mode.
Depends on the working variant.
getRegulationMode
in interface StaticVarCompensator
public StaticVarCompensator setRegulationMode(StaticVarCompensator.RegulationMode regulationMode)
StaticVarCompensator
set the regulating mode.
Depends on the working variant.
setRegulationMode
in interface StaticVarCompensator
regulationMode
- the regulating modepublic Terminal getRegulatingTerminal()
StaticVarCompensator
Get the terminal used for regulation.
getRegulatingTerminal
in interface StaticVarCompensator
public StaticVarCompensator setRegulatingTerminal(Terminal regulatingTerminal)
StaticVarCompensator
Set the terminal used for regulation.
setRegulatingTerminal
in interface StaticVarCompensator
public Terminal getTerminal()
Injection
getTerminal
in interface Injection<I extends Injection<I>>
public List<? extends Terminal> getTerminals()
getTerminals
in interface Connectable<I extends Injection<I>>
public ConnectableType getType()
Connectable
getType
in interface Connectable<I extends Injection<I>>
public void remove()
Connectable
remove
in interface Connectable<I extends Injection<I>>
public MergingView getNetwork()
Identifiable
getNetwork
in interface Identifiable<I extends Identifiable<I>>
public String getId()
Identifiable
getId
in interface Identifiable<I extends Identifiable<I>>
public Optional<String> getOptionalName()
Identifiable
getOptionalName
in interface Identifiable<I extends Identifiable<I>>
public String getNameOrId()
Identifiable
getNameOrId
in interface Identifiable<I extends Identifiable<I>>
public boolean hasProperty()
Identifiable
hasProperty
in interface Identifiable<I extends Identifiable<I>>
public boolean hasProperty(String key)
Identifiable
hasProperty
in interface Identifiable<I extends Identifiable<I>>
public String getProperty(String key)
Identifiable
getProperty
in interface Identifiable<I extends Identifiable<I>>
public String getProperty(String key, String defaultValue)
Identifiable
getProperty
in interface Identifiable<I extends Identifiable<I>>
public String setProperty(String key, String value)
Identifiable
setProperty
in interface Identifiable<I extends Identifiable<I>>
public Set<String> getPropertyNames()
Identifiable
getPropertyNames
in interface Identifiable<I extends Identifiable<I>>
public boolean isFictitious()
Identifiable
isFictitious
in interface Identifiable<I extends Identifiable<I>>
public void setFictitious(boolean fictitious)
Identifiable
setFictitious
in interface Identifiable<I extends Identifiable<I>>
public <E extends Extension<I>> void addExtension(Class<? super E> type, E extension)
Extendable
addExtension
in interface Extendable<I extends Identifiable<I>>
E
- the extension typetype
- the extension class typeextension
- the extensionpublic <E extends Extension<I>> E getExtension(Class<? super E> type)
Extendable
getExtension
in interface Extendable<I extends Identifiable<I>>
E
- the extension typetype
- the extension class typepublic <E extends Extension<I>> E getExtensionByName(String name)
Extendable
getExtensionByName
in interface Extendable<I extends Identifiable<I>>
name
- the extension namepublic <E extends Extension<I>> boolean removeExtension(Class<E> type)
Extendable
removeExtension
in interface Extendable<I extends Identifiable<I>>
E
- the extension typetype
- the extension class typepublic <E extends Extension<I>> Collection<E> getExtensions()
Extendable
getExtensions
in interface Extendable<I extends Identifiable<I>>
public <E extends Extension<I>,B extends ExtensionAdder<I,E>> B newExtension(Class<B> type)
Extendable
The extension implementation is selected at runtime based on matching the
Extendable.getImplementationName()
of this extendable to the
ExtensionAdderProvider.getImplementationName()
of a provider.
Implementations are loaded with java's ServiceLoader
using
the ExtensionAdderProvider interface.
newExtension
in interface Extendable<I extends Identifiable<I>>
type
- The interface of the ExtensionAdderprotected I getDelegate()
protected com.powsybl.iidm.mergingview.MergingViewIndex getIndex()
Copyright © 2020. All rights reserved.