Hi everyone,
We are using version 4.82.3.29.
I have a parameter called VOLL, that has the (implicit quantity) unit €2010/MWh. I want this parameter to have the value 3000 €2010/MWh at model start-up, which can then be modified through the UI if desired. I figured this would be straightforward but it is giving me problems.
If I select ‘Initial data’, and use the wizard to specify the value 3000, AIMMS inserts the following code:

However, this immediately leads to an error! "The symbol "[" is not expected.” ...
Using Initial Data = 3000; (so without the unit specified) leads to VOLL having the value '-nan(ind)' at model startup, and 0 after executing the procedure that reads our database (and it is unclear to me why this procedure would affect the VOLL value).
I also tried to use the ‘Default’ field (it is not entirely clear to me what its purpose is as opposed to ‘Initial Data’). If I enter the value 3000 there, the parameter has the value ‘inf’ on model startup and '9.98892e+12' after reading database.
What is happening here? How can I properly define an initial value for the parameter VOLL?
Best answer by Lennart
View original