XYcurve#
( General )
EPRI’s OpenDSS Documentation for this component: https://opendss.epri.com/XYCurveObject.html
# |
Name |
Type |
Default |
Units |
Description |
---|---|---|---|---|---|
1 |
|
integer |
Max number of points to expect in curve. This could get reset to the actual number of points defined if less than specified. |
||
2 |
|
array of reals |
One way to enter the points in a curve. Enter x and y values as one array in the order [x1, y1, x2, y2, …]. For example: |
||
3 |
|
array of reals |
Alternate way to enter Y values. Enter an array of Y values corresponding to the X values. You can also use the syntax: |
||
4 |
|
array of reals |
Alternate way to enter X values. Enter an array of X values corresponding to the Y values. You can also use the syntax: |
||
5 |
|
string |
Switch input of X-Y curve data to a CSV file containing X, Y points one per line. NOTE: This action may reset the number of points to a lower value. |
||
6 |
|
string |
Switch input of X-Y curve data to a binary file of SINGLES containing X, Y points packed one after another. NOTE: This action may reset the number of points to a lower value. |
||
7 |
|
string |
Switch input of X-Y curve data to a binary file of DOUBLES containing X, Y points packed one after another. NOTE: This action may reset the number of points to a lower value. |
||
8 |
|
real |
Enter a value and then retrieve the interpolated Y value from the Y property. On input shifted then scaled to original curve. Scaled then shifted on output. |
||
9 |
|
real |
Enter a value and then retrieve the interpolated X value from the X property. On input shifted then scaled to original curve. Scaled then shifted on output. |
||
10 |
|
real |
0.0 |
Shift X property values (in/out) by this amount of offset. Does not change original definition of arrays. |
|
11 |
|
real |
0.0 |
Shift Y property values (in/out) by this amount of offset. Does not change original definition of arrays. |
|
12 |
|
real |
1.0 |
Scale X property values (in/out) by this factor. Does not change original definition of arrays. |
|
13 |
|
real |
1.0 |
Scale Y property values (in/out) by this factor. Does not change original definition of arrays. |
|
14 |
|
string |
Make like another object, e.g.: |
Sample links#
These are the top 20 sample files with occurrences of this DSS object.
Links are provided to the dss-extensions/electricdss-src repository since there are some edits and fixes. Otherwise, these files should be available on the official OpenDSS SVN or in the OpenDSS application folder if your have a local installation.