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


double SolutionF(int32_t Parameter, double Argument);


This interface returns a floating point number according to the number sent in the variable “parameter”. The parameter can be one of the following:


Parameter 0: Solution.Frequency read

This parameter returns the frequency for the next solution.


Parameter 1: Solution.Frequency Write

This parameter sets the frequency for the next solution.


Parameter 2: Solution.Seconds read

This parameter returns the seconds from top of the hour.


Parameter 3: Solution.Seconds Write

This parameter sets the seconds from top of the hour.


Parameter 4: Solution.StepSize read

This parameter returns the step size for the next solution.


Parameter 5: Solution.StepSize Write

This parameter sets the step size for the next solution.


Parameter 6: Solution.LoadMult read

This parameter returns the default load multiplier applied to all non-fixed loads.


Parameter 7: Solution.LoadMult Write

This parameter sets the default load multiplier applied to all non-fixed loads.


Parameter 8: Solution.Tolerance read

This parameter returns the solution convergence tolerance.


Parameter 9: Solution.Tolerance Write

This parameter sets the solution convergence tolerance.


Parameter 10: Solution.pctgrowth read

This parameter returns the percent default annual load growth rate.


Parameter 11: Solution.pctgrowth Write

This parameter sets the percent default annual load growth rate.


Parameter 12: Solution.GenkW read

This parameter returns the generator kW for AutoAdd mode.


Parameter 13: Solution.GenkW Write

This parameter sets the generator kW for AutoAdd mode.


Parameter 14: Solution.GenPF read

This parameter returns the pf for generators in AutoAdd mode.


Parameter 15: Solution.GenPF Write

This parameter sets the pf for generators in AutoAdd mode.


Parameter 16: Solution.Capkvar read

This parameter returns the capacitor kvar for adding in AutoAdd mode.


Parameter 17: Solution.Capkvar Write

This parameter sets the capacitor kvar for adding in AutoAdd mode.


Parameter 18: Solution.GenMult read

This parameter returns the default multiplier applied to generators (like LoadMult).


Parameter 19: Solution.GenMult Write

This parameter sets the default multiplier applied to generators (like LoadMult).


Parameter 20: Solution.dblHour read

This parameter returns the hour as a double, including fractional part.


Parameter 21: Solution.dblHour Write

This parameter sets the hour as a double, including fractional part.


Parameter 22: Solution.StepSizeMin 

This parameter sets the step size in minutes.


Parameter 23: Solution.StepSizeHr

This parameter sets the step size in Hours.


Parameter 24: Solution.Process_Time

This parameter retrieves the time required (microseconds) to perform the latest solution time step, this time does not include the time required for sampling meters/monitors.


Parameter 25: Solution.Total_Time read

This parameter retrieves the accumulated time required (microseconds) to perform the simulation.


Parameter 26: Solution.Total_Time Write

This parameter sets the accumulated time (microseconds) register. The new value for this register must be specified in the argument.


Parameter 27: Solution.Time_TimeStep

This parameter retrieves the time required (microseconds) to perform the latest solution time step including the time required for sampling meters/monitors.