This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:


double VSourcesF(int32_t Parameter, double Argument);


This interface returns a floating point number with the result of the query according to the value of the variable Parameter, which can be one of the following:


Parameter 0: VSources.BasekV read

This parameter gets the source voltage in kV.


Parameter 1: VSources.BasekV write

This parameter sets the source voltage in kV.


Parameter 2: VSources.pu read

This parameter gets the source voltage in pu.


Parameter 3: VSources.pu write

This parameter sets the source voltage in pu.


Parameter 4: VSources.Angledeg read

This parameter gets the source phase angle of first phase in degrees.


Parameter 5: VSources.Angledeg write

This parameter sets the source phase angle of first phase in degrees.


Parameter 6: VSources.Frequency read

This parameter gets the source frequency in Hz.


Parameter 7: VSources.Frequency write

This parameter sets the source frequency in Hz.