Uses of Class
com.powsybl.iidm.modification.scalable.ScalingParameters
Package
Description
-
Uses of ScalingParameters in com.powsybl.iidm.modification.scalable
Modifier and TypeMethodDescriptionstatic ScalingParameters
ScalingParameters.load()
static ScalingParameters
ScalingParameters.load
(PlatformConfig platformConfig) ScalingParameters.setAllowsGeneratorOutOfActivePowerLimits
(boolean allowsGeneratorOutOfActivePowerLimits) ScalingParameters.setConstantPowerFactor
(boolean constantPowerFactor) ScalingParameters.setIterative
(boolean iterative) Deprecated.: replace with the method "setPriority"ScalingParameters.setPriority
(ScalingParameters.Priority priority) ScalingParameters.setReconnect
(boolean reconnect) ScalingParameters.setScalingConvention
(Scalable.ScalingConvention scalingConvention) ScalingParameters.setScalingType
(ScalingParameters.ScalingType scalingType) Modifier and TypeMethodDescriptionstatic double
Scalable.getVariationAsked
(ScalingParameters scalingParameters, double askedValue, double currentGlobalPower) Returns the value that has to be added to the network, depending on the type of variation chosen in the parametersdouble
DanglingLineScalable.scale
(Network n, double asked, ScalingParameters parameters) Scale the given network using Generator convention by default.double
ProportionalScalable.scale
(Network n, double asked, ScalingParameters parameters) double
Scalable.scale
(Network n, double asked, ScalingParameters parameters) Scale the given network using Generator convention by default. -
Uses of ScalingParameters in com.powsybl.iidm.modification.scalable.json
Modifier and TypeMethodDescriptionstatic ScalingParameters
JsonScalingParameters.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) Low level deserialization method, to be used for instance for reading scaling parameters nested in another object.static ScalingParameters
JsonScalingParameters.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext, ScalingParameters scalingParameters) Low level deserialization method, to be used for instance for updating scaling parameters nested in another object.ScalingParametersDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) ScalingParametersDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context, ScalingParameters parameters) static ScalingParameters
JsonScalingParameters.read
(InputStream jsonStream) Reads parameters from a JSON file (will NOT rely on platform config).static ScalingParameters
Reads parameters from a JSON file (will NOT rely on platform config).static ScalingParameters
JsonScalingParameters.update
(ScalingParameters parameters, InputStream jsonStream) Updates parameters by reading the content of a JSON stream.static ScalingParameters
JsonScalingParameters.update
(ScalingParameters parameters, Path jsonFile) Updates parameters by reading the content of a JSON file.Modifier and TypeMethodDescriptionstatic ScalingParameters
JsonScalingParameters.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext, ScalingParameters scalingParameters) Low level deserialization method, to be used for instance for updating scaling parameters nested in another object.ScalingParametersDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context, ScalingParameters parameters) static void
JsonScalingParameters.serialize
(ScalingParameters parameters, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) Low level serialization method, to be used for instance for writing scaling parameters nested in another object.void
ScalingParametersSerializer.serialize
(ScalingParameters scalingParameters, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) static ScalingParameters
JsonScalingParameters.update
(ScalingParameters parameters, InputStream jsonStream) Updates parameters by reading the content of a JSON stream.static ScalingParameters
JsonScalingParameters.update
(ScalingParameters parameters, Path jsonFile) Updates parameters by reading the content of a JSON file.static void
JsonScalingParameters.write
(ScalingParameters parameters, OutputStream outputStream) Writes parameters as JSON to an output stream.static void
JsonScalingParameters.write
(ScalingParameters parameters, Path jsonFile) Writes parameters as JSON to a file.