Open marapan opened 4 years ago
Hi Maria, Can you check whether the .xml file has been created after setting Write to true ? Is the simulation running (cmd window opening after setting Run to True) ? If yes, has any .out file been created ? Can you also post the output of the LoadResults component? Sorry for all those questions, hopefully they will be helpful for debugging. Best, Giuseppe
On Fri, Jul 10, 2020, 09:46 marapan notifications@github.com wrote:
Hi there, I am new at CitySim. I face a problem while loading solar results of the test-solar file. I checked the 'simulation' directory and the file hasn't been created after running the citysim solar running component. Could you please help me out with that? Cheers, Maria [image: image] https://user-images.githubusercontent.com/64587242/87129778-39193f80-c2d5-11ea-9c83-4331537f451b.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gperonato/GHCitySim/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF5OQWZ2BKCLQALXZ5QAFTR23BM5ANCNFSM4OWKVUIA .
Hi Giuseppe,
Thanks for your prompt response. When I set "Write" to true the .xml files are created. The cmd window pops up and closes down after a while. It looks like sth is running in the background but when the process finishes I don't get an output file. I suspect that there is sth wrong with the solver. I have just downloaded and copied under C drive. This is the printscreen of my computer path to CitySim.exe. I am wondering if I have to install the path under system variables. This is a print screen of the LoadSolar component. I have renamed the project as test-solar-Melb. I have attached a printscreen of the working directory. I have also CitySimPro installed on my machine and running perfectly. Not sure if this is related though. Thanks again for your help.I hope the details help.
Cheers, Maria
(updated images)
Hi Maria,
Sorry I can't see the screenshots, but yes it looks like CitySim is not able to parse the xml file. To help debug, you can run CitySim directly from the command line:
C:\CitySim.exe -I path\to\your-file.xml
and check the output in the console.
You can also try to import the file in CitySimPro. If you are still unable to solve the problem, you can send me your xml file by email gperonato (at) gmail.com
Best,
Giuseppe
Hi Giuseppe,
I think I figured out what the problem is. I had to familiarise myself with the xml syntax. The CitySim-Solar type defines Occupants n="9" d="0.06" type="2"/ but you didn't define the occupancy profile. I added 2 more lines defining it and now it works. I attach the code here (not sure if it is visible though). Let me know what you think.
Cheers, Maria
Hi Maria, Yes, you are right, the occupants profile was missing. Even if it is not used for irradiation stimulations apparently CitySim now complains if it is missing. I think this was not the case with earlier versions, on which I tested the example in the repository. I will add the missing tag in the code as soon as I am back from vacations. Meanwhile you should be able to add it manually as you did, or in the Python code of the RunSolar component. The components based on Honeybee should normally work, as they already include a component to write the occupancy profile. Best, Giuseppe
On Mon, Jul 13, 2020, 04:14 marapan notifications@github.com wrote:
Hi Giuseppe,
I think I figured out what the problem is. I had to familiarise myself with the xml syntax. The CitySim-Solar type defines but you didn't defin the occupancy profile. I added 2 more lines defining it and now it works. I attach the code here. Let me know what you think.
Cheers, Maria
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gperonato/GHCitySim/issues/8#issuecomment-657322611, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF5OQRWGMXZPCWHLKEIYO3R3JUZBANCNFSM4OWKVUIA .
Hi there, I am new at CitySim. I face a problem while loading solar results of the test-solar file. I get the error that the 'solar-test_SW.out' file cannot be found. I checked the 'simulation' directory and the file 'test-solar_SW.out' hasn't been created after executing the citysim solar component. I understand that this is probably a problem of the citysim solver. Could you please help me out with that? Cheers, Maria