First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
![]() | 1 | initial version | |
Hi!
I am trying to change a linear cost table with opfcsttbllin but i cant get it to work.
I have tried the following code: ierr = psspy.opfcsttbllin(3, 'TABLE3', 2, [0.0, 0.0, 1100.0, 1300.0])
and i get this error: Messages for api OPFCSTTBLQUAD Messages for OPF quadratic cost table 4: (002568) FATAL: MW values are not monotonic (002567) TypeError: bad argument type for built-in operation
what could be the problem?
![]() | 2 | No.2 Revision |
Hi!
I am trying to change a linear cost table with opfcsttbllin but i cant get it to work.
I have tried the following code: ierr = psspy.opfcsttbllin(3, 'TABLE3', 2, [0.0, 0.0, 1100.0, 1300.0])
and i get this error: Messages for api OPFCSTTBLQUAD Messages for OPF quadratic cost table 4: (002568) FATAL: MW values are not monotonic (002567) TypeError: bad argument type for built-in operation
what could be the problem?
![]() | 3 | No.3 Revision |
Hi!
I am trying to change a linear cost table with opfcsttblopf csttbl lin but i cant get it to work.
I have tried the following code:
ierr = psspy.opfcsttblpsspy.opf csttbl lin(3, 'TABLE3', 2, [0.0, 0.0, 1100.0, 1300.0])
and i get this error: Messages for api OPFCSTTBLQUAD Messages for OPF quadratic cost table 4: (002568) FATAL: MW values are not monotonic (002567) TypeError: bad argument type for built-in operation
what could be the problem?