2. Run a solution with different weather files

Top  Previous  Next

Now let's run for several weather files

 

Task 2.1 Run solution simplace_modules/test/training/solution/2_WorkingWithProjects/02_DifferentWeatherFiles.sol.xml with 3 different weather files:

 

 - weather1, weather2 and weather3, which are located in simplace_modules/test/training/data/lintul2 folder. The weather files with corresponding start and end dates are already defined in simplace_modules/test/training/data/lintul2/runs2.txt project data file.

 

 - Follow the steps to create a SimulationProject as in the previous task 1. Run a solution with different values

         

 Hints

   - Put all variables in between <projects><resource><header>...</header></resource></projects> tags.

   - Variable for the projectid would look like <var id="projectid" datatype="CHAR" key="projectid">

 

 Solution

      Open the simplace_modules/test/training/project/Project2.proj.xml to see how it should be done.

 

 

 


 

Task 2.2 Execute the simplace_modules/test/training/solution/SolutionProj2.sol.xml solution and

 simplace_modules/test/training/project/Project2.proj.xml with either a java application or JUnit

 

 

 Hints

   - Initialize new variable, e.g.: String tProjectFileName = "${_WORKDIR_}/training/project/Project1.proj.xml";

   - Dont forget to prescribe the tProjectFileName

   - In the output file you will have to see the derived RainingStatement for all 3 weather files integrated into one from 01.01.1982 to 31.12.1994.

 

 Solution

      Open the simplace_modules\runs\net\simplace\sim\runs\training\WorkingWithProjects\Run_02_Project_DifferentWeatherFiles.java to see how it should be done.

 

 

*SimulationProjects are found in simplace_modules\test\training\solution\2_WorkingWithProjects