3. Changing filenames |
Top Previous Next |
Now lets repeat the previous task but now changing some files that the ModelSolution will be using during the simulations.
Hints: For each task create a Class (e.g. Task2) and inside the class body create the method main(String[]args) where the filename of the ModelSolution will be specified.
Task 3.1 Modify the ModelSolution 01_FirstSolution.sol.xml so it uses weather2.txt instead of weather1.txt.
Both files are located in the same folder: simplace_modules/test/training/data/lintul/
Hints:
- You need to find where the /training/data/lintul/weather1.txt is used in the solution file
and change it to /training/data/lintul/weather2.txt.
- Don't forget to save the file after doing the modifications
Solution:
Follow this link.
Task 3.2 Use the simplace_modules/test/training/data/lintul/weather1.txt data file from lintul2 folder instead of lintul folder.
Hints:
- You need to find where the weather1.txt file is used in the solution and change the used folder name to required one.
- Don't forget to save the file after doing the modifications
Solution:
Follow this link.
*ModelSolutions are found in simplace_modules\test\training\solution\1_WorkingWithSolutions