2using System.Xml.Serialization;
17[XmlType(TypeName =
"scheduledReceipt")]
61 double defaultReceiptQuantity)
64 defaultReceiptQuantity)
112 string parameterName)
115 base.ValidateValue(value, parameterName);
120 throw new ArgumentOutOfRangeException(
123 "A scheduled-receipt quantity cannot be negative.");
Represents a sequence of finite double values indexed by planning period.
void SetReceiptQuantity(int period, double quantity)
Sets the quantity expected to be received during a planning period.
ScheduledReceipt(int planningHorizon)
Initializes scheduled receipts for the specified planning horizon.
override void ValidateValue(double value, string parameterName)
Validates a scheduled-receipt quantity.
ScheduledReceipt()
Initializes an empty scheduled-receipt parameter.
ScheduledReceipt(int planningHorizon, double defaultReceiptQuantity)
Initializes scheduled receipts for the specified planning horizon and assigns the same quantity to ev...
double GetReceiptQuantity(int period)
Gets the quantity expected to be received during a planning period.
DoubleTimeSeries ReceiptQuantities
Gets the complete scheduled-receipt time series.
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.