[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redefine parameter in Monte Carlo analysis

From: Michael Hennebry
Subject: Re: Redefine parameter in Monte Carlo analysis
Date: Tue, 12 Nov 2019 11:45:17 -0600 (CST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

On Tue, 12 Nov 2019, Guidati  Gianfranco wrote:

I am using GLPK to optimize an energy system model for Switzerland. Lots of 
parameters such as costs or efficiencies are defined in a dat file. Now I want 
to systematically vary some of these parameters using a Monte Carlo approach. 
The easiest way to do this would be to just create a small addendum to the dat 
file that redefines / overrides the parameter values that were previously 
defined in the dat file, and to paste these two together. Unfortunately, that 
doesn't work, the solver just complains that a parameter was already defined.

Include parameters Xnormal and Xadjust along with parameter X.
Read in Xnormal and Xadjust instead of X.
Have X computed from Xnormal and Xadjust.

Michael   address@hidden
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards

reply via email to

[Prev in Thread] Current Thread [Next in Thread]