nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#895 Add powerflow module property to allow user to change name of market price variable, #2621

Open nikhilgupta10 opened 7 years ago

nikhilgupta10 commented 7 years ago

Alternate market designs cannot be created as a runtime class because parts are not allowed in the runtime class variable syntax. Unfortunately, powerflow triplex_meter uses a default price name that has a part (i.e., \current_market.clearing_price).

The user should be able to specify which variable of the market object is used as the price variable by setting a module global in powerflow, e.g., \powerflow::market_price_name.

Obviously fixing runtime class so it supports property parts is a partial solution, but that ticket has been open for a long time because fixing the property parts problems is really difficult.,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "dchassin":By the way, the meter should look at the unit of the price of convert it accordingly. It's there in the property and can be consulted at runtime when the value is read.,

"dchassin":- status: new --> assigned