Open nikhilgupta10 opened 8 years ago
nikhilgupta10 imported these comments from Sourceforge: This however works like it should:
object load {
name load1;
parent meter1;
phases \ABCN\;
object player {
property constant_power_A;
file Haus_s1_H1_2012121911.csv;
};
object player {
property constant_power_B;
file Haus_s2_H1_2012121911.csv;
};
object player {
property constant_power_C;
file Haus_s3_H1_2012121911.csv;
};
nominal_voltage 230V;
}
But this way I can't do gain correction.
,
Brenzikofer,
Recommend posting this to the forums. This was discussed somewhat at:
http://sourceforge.net/p/gridlab-d/discussion/842561/thread/f51cb19e/?limit=25#75b3
among other forum posts. The player transform only supports the manipulation of double values (as they are inherent to C++), but there are ways to achieve what you are looking for - varying from accessing the real and imaginary portions individually to runtime code.
,
Diff:
I'd like to use a player in the following way, similar to the example in the wiki. (except that I define 'value' as complex , not as double)
http://sourceforge.net/apps/mediawiki/gridlab-d/index.php?title=Player
In the csv files all values are complex, but the player only uses the real part. This can be observed by a recorder on meter1:measured_power_A
I consider this a bug.
,