PriceShape#

( General )

#

Name

Type

Default

Units

Description

1

NPts

integer

Max number of points to expect in price shape vectors. This gets reset to the number of Price values found if less than specified.

2

Interval

real

Time interval for fixed interval data, hrs. Default = 1. If Interval = 0 then time data (in hours) may be at irregular intervals and time value must be specified using either the Hour property or input files. Then values are interpolated when Interval=0, but not for fixed interval data.

See also “sinterval” and “minterval”.

3

Price

array of reals

Array of Price values. Units should be compatible with the object using the data. You can also use the syntax:
Price = (file=filename) !for text file one value per line
Price = (dblfile=filename) !for packed file of doubles
Price = (sngfile=filename) !for packed file of singles

Note: this property will reset Npts if the number of values in the files are fewer.

4

Hour

array of reals

Array of hour values. Only necessary to define this property for variable interval data. If the data are fixed interval, do not use this property. You can also use the syntax:
hour = (file=filename) !for text file one value per line
hour = (dblfile=filename) !for packed file of doubles
hour = (sngfile=filename) !for packed file of singles

5

Mean

real

Mean of the Price curve values. This is computed on demand the first time a value is needed. However, you may set it to another value independently. Used for Monte Carlo load simulations.

6

StdDev

real

Standard deviation of the Prices. This is computed on demand the first time a value is needed. However, you may set it to another value independently.Is overwritten if you subsequently read in a curve

Used for Monte Carlo load simulations.

7

CSVFile

string

Switch input of Price curve data to a csv file containing (hour, Price) points, or simply (Price) values for fixed time interval data, one per line. NOTE: This action may reset the number of points to a lower value.

8

SngFile

string

Switch input of Price curve data to a binary file of singles containing (hour, Price) points, or simply (Price) values for fixed time interval data, packed one after another. NOTE: This action may reset the number of points to a lower value.

9

DblFile

string

Switch input of Price curve data to a binary file of doubles containing (hour, Price) points, or simply (Price) values for fixed time interval data, packed one after another. NOTE: This action may reset the number of points to a lower value.

10

SInterval

real

Specify fixed interval in SECONDS. Alternate way to specify Interval property.
Redundant with Interval

11

MInterval

real

Specify fixed interval in MINUTES. Alternate way to specify Interval property.
Redundant with Interval

12

Action

string
(from enum. Action, action)

{DblSave | SngSave} After defining Price curve data… Setting action=DblSave or SngSave will cause the present “Price” values to be written to either a packed file of double or single. The filename is the PriceShape name.

13

Like

string
(PriceShape name)
deprecated

Make like another object, e.g.:

New Capacitor.C2 like=c1 …

Enumerations#

PriceShape: Action#

Value

DblSave

SngSave