public class TsoGeneratorVoltageAutomaton extends AbstractTsoGeneratorAutomaton
Modifier and Type | Field and Description |
---|---|
protected SecurityIndexId |
id |
protected static com.google.common.base.Supplier<XMLOutputFactory> |
XML_OUTPUT_FACTORY_SUPPLIER |
GEN, INDEX, NAME
Constructor and Description |
---|
TsoGeneratorVoltageAutomaton(String contingencyId,
List<String> onUnderVoltageDiconnectedGenerators,
List<String> onOverVoltageDiconnectedGenerators) |
Modifier and Type | Method and Description |
---|---|
static TsoGeneratorVoltageAutomaton |
fromXml(String contingencyId,
XMLStreamReader xmlsr) |
SecurityIndexId |
getId()
Get security index id.
|
List<String> |
getOnOverVoltageDiconnectedGenerators() |
List<String> |
getOnUnderVoltageDiconnectedGenerators() |
boolean |
isOk()
Get the security index synthetic value.
|
Map<String,String> |
toMap() |
String |
toString() |
String |
toXml() |
protected void |
toXml(XMLStreamWriter xmlWriter) |
toXml
protected static final com.google.common.base.Supplier<XMLOutputFactory> XML_OUTPUT_FACTORY_SUPPLIER
protected final SecurityIndexId id
public static TsoGeneratorVoltageAutomaton fromXml(String contingencyId, XMLStreamReader xmlsr) throws XMLStreamException
XMLStreamException
public boolean isOk()
SecurityIndex
protected void toXml(XMLStreamWriter xmlWriter) throws XMLStreamException
XMLStreamException
public SecurityIndexId getId()
SecurityIndex
getId
in interface SecurityIndex
public String toXml()
toXml
in interface SecurityIndex
Copyright © 2020. All rights reserved.