2using System.Xml.Serialization;
20[XmlType(TypeName =
"periodicOperatingExpenditureBudget")]
67 throw new ArgumentOutOfRangeException(
70 "An operating expenditure budget cannot be negative.");
Represents a sequence of finite double values indexed by planning period.
DoubleTimeSeriesParameter()
Initializes an empty period-dependent parameter.
double GetValue(int period)
Gets the parameter value for a planning period.
DoubleTimeSeries Values
Gets or sets the values of the parameter for all planning periods.
void SetValue(int period, double value)
Sets the parameter value for a planning period.
double GetBudget(int period)
void SetBudget(int period, double budget)
PeriodicOperatingExpenditureBudget(int planningHorizon, double defaultBudget)
DoubleTimeSeries BudgetByPeriod
PeriodicOperatingExpenditureBudget(int planningHorizon)
PeriodicOperatingExpenditureBudget()
override void ValidateValue(double value, string parameterName)
Validates one value before it is assigned to the parameter.