Generates Voltage Sensitivities to changes in P and Q at each load bus on
the network.
Namespace: ElecNetKit.SensitivitiesAssembly: ElecNetKit.Sensitivities (in ElecNetKit.Sensitivities.dll) Version: 1.1.4771.27372 (1.1.0.0)
Syntax
public static TwinKeyDictionary<string, string, VoltageSensitivityToPQDataSet> GetVoltageSensitivityToComplexPower( ISimulator Simulator, string NetworkMasterFile, string CommandString, double PerturbationFrac )
Parameters
- Simulator
- Type: ElecNetKit.Simulator ISimulator
The simulator to use for the generation of sensitivities.
- NetworkMasterFile
- Type: System String
The file path of the Network to calculate sensitivities for.
- CommandString
- Type: System String
A command for issuing perturbations. The command should be compatible with Format(String, Object )-style format strings, and should use {0} to represent a random ID, {1} to represent the bus that perturbation should occur on, {2} to represent a kW quantity to perturb by and {3} to represent a kVAr quantity to perturb by.As an example, the following string specifies a new generator for perturbation in OpenDSS syntax:Examples"new Generator.{0} bus1={1} phases=3 model=1 status=fixed kV=11 Vminpu=0.9 Vmaxpu=1.1 kW={2} kvAR={3}"
- PerturbationFrac
- Type: System Double
The fraction of average load size to perturb by.
Return Value
A 2-axis dictionary, in which the X-axis represents the source bus, the Y-axis represents the affected bus, and the values are an index of sensitivity information.Remarks
See Also