WGEN is a stochastic weather generator originally developed in the 1980s in Fortran at the US Department of Agriculture Agricultural Research Service (Richardson and Wright 1984). It uses monthly and annual statistics to generate daily time series of precipitation, minimum temperature, maximum temperature, and solar radiation.
Use the WGEN PAR model to generate the parameter inputs for this model. The inputs are saved in an Excel spreadsheet file called "WGEN PAR.xlsx" so please make sure that file is saved in the same directory as
You can also compare model against observed results:
Model version 1.015 released on 4 Jan, 2019
Model version 1.020 released on 11 Jan, 2019
Model version 1.024 released on 25 Jan, 2019
The harmonic value "x" in the temperature container should have an initial condition of vector(0) unless you are running it deterministically for verification purposes. This has been fixed using an IF statement:
if(Temp_Determ, vector(-0.3513, -1.754, 0.6244), vector(0))
Where "Temp_Determ" is set to False by default. Only set this to True if you need to run a deterministic validation run.
I was using a Random Choice element for determining the wet/dry state but it's not possible to use this if you want to switch to a deterministic run for validation. I rolled this back to an earlier version of the markov function that uses a stochastic with uniform distribution instead. This is how the FORTRAN code is implemented.
Model version 1.025 released on 7 Feb, 2019
Model version 1.026 released on 6 Mar, 2019
Model version 1.029 released on 13 May, 2019
1. Added support for units so that data can be entered in terms of metric or English units.
2. Added results to support the differences in units
Model version 1.031 released on 11 September, 2019
Model version 1.035 released on 17 December, 2019
These changes did not affect the underlying calculations in any way but make it easier to port the model to another model, which will need to carry those unit dimensions forward.
hi! i can't download de WGEN PAR model, can you please help me?
Can you tell me what happens when you attempt to download that model? Here is the link to the article with the download link at the bottom: WGEN Parameter Generator – GoldSim Help Center
hi jason, how could i modify the input parameters manually. Since it is currently only as reading
sir kindly guide how to download and start this WGEN generator model in my laptop.
@fernando, you should be able to enter values on the dashboard manually. Are you having trouble doing so?
You need a GoldSim software license to use this model. If you are a student, you can apply for a free academic license from here: GoldSim Academic Application Form - GoldSim
Currently I am facing this error while running the model. please guide me how to resolve it.
As per our discussion in our support ticket, it appears the issue was resolved by changing the name of 1 or more of the sheets in your Excel file. Is that right?
Temperature input parameters set in terms of C or F, depending on the user's unit type selection.
The new version of GoldSim now runs using a saved input file called "WGEN PAR.xlsx". You can generate this file using the companion GoldSim model "WGEN PAR.gsm". In this new version, you should not need to change any inputs. But you can replace the Excel inputs with static data inputs for faster running in your project. Let me know if you see any problems.
This version was tested using applications at the following locations:
Please sign in to leave a comment.