Package com.powsybl.cgmes.model
Class InMemoryCgmesModel
java.lang.Object
com.powsybl.cgmes.model.InMemoryCgmesModel
- All Implemented Interfaces:
CgmesModel
- Author:
- Luma ZamarreƱo <zamarrenolm at aia.es>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacDcConverters
(String... ids) acLineSegments
(String... ids) void
add
(CgmesSubset subset, String type, PropertyBags objects) void
add
(String contextOrSubset, String type, PropertyBags objects) allObjectsOfType
(String type) asynchronousMachines
(String... ids) busBarSections
(String... ids) void
clear
(CgmesSubset subset) countrySourcingActors
(String countryName) created()
dcLineSegments
(String... ids) dcTerminal
(String dcTerminalId) dcTerminals
(String... ids) energyConsumers
(String... ids) graph()
boolean
boolean
boolean
modelId()
modelProfiles
(String... ids) nodeBreaker
(boolean b) double
nominalVoltage
(String baseVoltageId) operationalLimits
(String... ids) phaseTapChangerListForPowerTransformer
(String powerTransformerId) phaseTapChangers
(String... ids) phaseTapChangerTable
(String tableId) void
print
(PrintStream out) void
ratioTapChangerListForPowerTransformer
(String powerTransformerId) ratioTapChangers
(String... ids) ratioTapChangerTable
(String tableId) void
read
(ReadOnlyDataSource mainDataSource, ReadOnlyDataSource alternativeDataSourceForBoundary, ReportNode reportNode) void
read
(ReadOnlyDataSource ds, ReportNode reportNode) void
read
(InputStream is, String baseName, String contextName, ReportNode reportNode) void
setBasename
(String baseName) shuntCompensators
(String... ids) sourcingActor
(String sourcingActor) staticVarCompensators
(String... ids) substation
(CgmesTerminal t, boolean nodeBreaker) Obtain the substation of a given terminal.substations
(String... ids) switches()
synchronousMachinesGenerators
(String... ids) tieFlows()
topologicalNodes
(String... ids) transformerEnds
(String... ids) transformers
(String... ids) version()
voltageLevel
(CgmesTerminal t, boolean nodeBreaker) Obtain the voltage level grouping in which a given terminal is contained.voltageLevels
(String... ids) void
write
(DataSource ds) void
write
(DataSource ds, CgmesSubset subset) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.cgmes.model.CgmesModel
fullModels, grounds, synchronousMachines, synchronousMachinesCondensers
-
Constructor Details
-
InMemoryCgmesModel
public InMemoryCgmesModel()
-
-
Method Details
-
tripleStore
- Specified by:
tripleStore
in interfaceCgmesModel
-
hasEquipmentCore
public boolean hasEquipmentCore()- Specified by:
hasEquipmentCore
in interfaceCgmesModel
-
modelId
-
version
-
nodeBreaker
-
isNodeBreaker
public boolean isNodeBreaker()- Specified by:
isNodeBreaker
in interfaceCgmesModel
-
hasBoundary
public boolean hasBoundary()- Specified by:
hasBoundary
in interfaceCgmesModel
-
substations
-
voltageLevels
-
terminals
-
operationalLimits
-
topologicalNodes
-
busBarSections
-
switches
-
acLineSegments
-
equivalentBranches
- Specified by:
equivalentBranches
in interfaceCgmesModel
-
seriesCompensators
- Specified by:
seriesCompensators
in interfaceCgmesModel
-
transformers
-
transformerEnds
-
ratioTapChangers
-
phaseTapChangers
-
energyConsumers
-
shuntCompensators
-
staticVarCompensators
-
synchronousMachinesGenerators
-
asynchronousMachines
-
acDcConverters
-
dcLineSegments
-
dcTerminals
-
tieFlows
-
modelProfiles
-
controlAreas
- Specified by:
controlAreas
in interfaceCgmesModel
-
modelId
- Specified by:
modelId
in interfaceCgmesModel
-
version
- Specified by:
version
in interfaceCgmesModel
-
scenarioTime
- Specified by:
scenarioTime
in interfaceCgmesModel
-
created
- Specified by:
created
in interfaceCgmesModel
-
boundaryNodes
- Specified by:
boundaryNodes
in interfaceCgmesModel
-
baseVoltages
- Specified by:
baseVoltages
in interfaceCgmesModel
-
numObjectsByType
- Specified by:
numObjectsByType
in interfaceCgmesModel
-
allObjectsOfType
- Specified by:
allObjectsOfType
in interfaceCgmesModel
-
countrySourcingActors
- Specified by:
countrySourcingActors
in interfaceCgmesModel
-
sourcingActor
- Specified by:
sourcingActor
in interfaceCgmesModel
-
substations
- Specified by:
substations
in interfaceCgmesModel
-
voltageLevels
- Specified by:
voltageLevels
in interfaceCgmesModel
-
terminals
- Specified by:
terminals
in interfaceCgmesModel
-
connectivityNodeContainers
- Specified by:
connectivityNodeContainers
in interfaceCgmesModel
-
operationalLimits
- Specified by:
operationalLimits
in interfaceCgmesModel
-
connectivityNodes
- Specified by:
connectivityNodes
in interfaceCgmesModel
-
topologicalNodes
- Specified by:
topologicalNodes
in interfaceCgmesModel
-
busBarSections
- Specified by:
busBarSections
in interfaceCgmesModel
-
switches
- Specified by:
switches
in interfaceCgmesModel
-
acLineSegments
- Specified by:
acLineSegments
in interfaceCgmesModel
-
transformers
- Specified by:
transformers
in interfaceCgmesModel
-
transformerEnds
- Specified by:
transformerEnds
in interfaceCgmesModel
-
groupedTransformerEnds
- Specified by:
groupedTransformerEnds
in interfaceCgmesModel
-
ratioTapChangers
- Specified by:
ratioTapChangers
in interfaceCgmesModel
-
phaseTapChangers
- Specified by:
phaseTapChangers
in interfaceCgmesModel
-
regulatingControls
- Specified by:
regulatingControls
in interfaceCgmesModel
-
energyConsumers
- Specified by:
energyConsumers
in interfaceCgmesModel
-
energySources
- Specified by:
energySources
in interfaceCgmesModel
-
shuntCompensators
- Specified by:
shuntCompensators
in interfaceCgmesModel
-
equivalentShunts
- Specified by:
equivalentShunts
in interfaceCgmesModel
-
nonlinearShuntCompensatorPoints
- Specified by:
nonlinearShuntCompensatorPoints
in interfaceCgmesModel
-
staticVarCompensators
- Specified by:
staticVarCompensators
in interfaceCgmesModel
-
synchronousMachinesGenerators
- Specified by:
synchronousMachinesGenerators
in interfaceCgmesModel
-
equivalentInjections
- Specified by:
equivalentInjections
in interfaceCgmesModel
-
externalNetworkInjections
- Specified by:
externalNetworkInjections
in interfaceCgmesModel
-
svInjections
- Specified by:
svInjections
in interfaceCgmesModel
-
asynchronousMachines
- Specified by:
asynchronousMachines
in interfaceCgmesModel
-
modelProfiles
- Specified by:
modelProfiles
in interfaceCgmesModel
-
reactiveCapabilityCurveData
- Specified by:
reactiveCapabilityCurveData
in interfaceCgmesModel
-
ratioTapChangerTablesPoints
- Specified by:
ratioTapChangerTablesPoints
in interfaceCgmesModel
-
phaseTapChangerTablesPoints
- Specified by:
phaseTapChangerTablesPoints
in interfaceCgmesModel
-
ratioTapChangerTable
- Specified by:
ratioTapChangerTable
in interfaceCgmesModel
-
phaseTapChangerTable
- Specified by:
phaseTapChangerTable
in interfaceCgmesModel
-
ratioTapChangerListForPowerTransformer
- Specified by:
ratioTapChangerListForPowerTransformer
in interfaceCgmesModel
-
phaseTapChangerListForPowerTransformer
- Specified by:
phaseTapChangerListForPowerTransformer
in interfaceCgmesModel
-
acDcConverters
- Specified by:
acDcConverters
in interfaceCgmesModel
-
dcLineSegments
- Specified by:
dcLineSegments
in interfaceCgmesModel
-
dcTerminals
- Specified by:
dcTerminals
in interfaceCgmesModel
-
tieFlows
- Specified by:
tieFlows
in interfaceCgmesModel
-
topologicalIslands
- Specified by:
topologicalIslands
in interfaceCgmesModel
-
graph
- Specified by:
graph
in interfaceCgmesModel
-
print
- Specified by:
print
in interfaceCgmesModel
-
print
- Specified by:
print
in interfaceCgmesModel
-
write
- Specified by:
write
in interfaceCgmesModel
-
write
- Specified by:
write
in interfaceCgmesModel
-
clear
- Specified by:
clear
in interfaceCgmesModel
-
add
- Specified by:
add
in interfaceCgmesModel
-
add
- Specified by:
add
in interfaceCgmesModel
-
getProperties
- Specified by:
getProperties
in interfaceCgmesModel
-
computedTerminals
- Specified by:
computedTerminals
in interfaceCgmesModel
-
terminal
- Specified by:
terminal
in interfaceCgmesModel
-
dcTerminal
- Specified by:
dcTerminal
in interfaceCgmesModel
-
substation
Description copied from interface:CgmesModel
Obtain the substation of a given terminal.- Specified by:
substation
in interfaceCgmesModel
- Parameters:
t
- the terminalnodeBreaker
- to determine the terminal container, use node-breaker connectivity information first
-
voltageLevel
Description copied from interface:CgmesModel
Obtain the voltage level grouping in which a given terminal is contained.- Specified by:
voltageLevel
in interfaceCgmesModel
- Parameters:
t
- the terminalnodeBreaker
- to determine the terminal container, use node-breaker connectivity information first
-
container
- Specified by:
container
in interfaceCgmesModel
-
nominalVoltage
- Specified by:
nominalVoltage
in interfaceCgmesModel
-
setBasename
- Specified by:
setBasename
in interfaceCgmesModel
-
getBasename
- Specified by:
getBasename
in interfaceCgmesModel
-
read
- Specified by:
read
in interfaceCgmesModel
-
read
public void read(ReadOnlyDataSource mainDataSource, ReadOnlyDataSource alternativeDataSourceForBoundary, ReportNode reportNode) - Specified by:
read
in interfaceCgmesModel
-
read
- Specified by:
read
in interfaceCgmesModel
-