Ask Your Question

hello123's profile - activity

2024-03-27 05:47:23 -0500 received badge  Editor (source)
2024-03-27 05:45:35 -0500 asked a question OPF data tables

Hi!

I am trying to change a linear cost table with opf csttbl lin but i cant get it to work.

I have tried the following code: ierr = psspy.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?