<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello everyone,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have just joined nemo-devel at the invitation of Ben Elliston. I sent him an email that described a problem that I encountered with the scenario that is the subject of this email, and he asked me to repost the description to this list.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am very new to running nemo code. I have come to nemo as a result of reading "100% renewable electricity in Australia" by Blakers, Lu, and Stocks. And I came to that paper because I am trying to model 100% renewable electricity in Canada. I am particularly
 interested in the provisioning of storage as a balancing tool on the grid.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So, to the task at hand.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I loaded nemo in Pycharm that is running Python 3 and tried out the sample code on the Jupyter Notebook page. I had to put() around the argument to the print command. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I then went on to try the re100_batteries scenario</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">I have attached a file listing the code that I ran and the output.</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
One of the lines is</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">print(c.generators).</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">All of the solar and wind resources are 0kW. The hydro resources had positive capacity values.</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">Three of the code lines are:</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">print(c.total_demand())</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">print(c.unserved_energy())</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">print(c.unserved_percent())</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">print(c.surplus_energy())</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">The corresponding output is:</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">204366325.39999998</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">160085913.39999998</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">78.33282371088715</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">0.0</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">I saw the wind_limit, pv_limit, and cst_limit lists in polygons.py and was expecting those numbers to show up in the c.generators output as the capacities for the renewable resources, but they did not.</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px">I am hoping that one of you recognizes the problem right off the bat and can provide me with some guidance on what to do about it.</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
I did a bit of stepping through the code in the debugger but I think that probably triggered web request timeouts. So I would have to think through a bit more on how to breakpoint the code to avoid the timeouts.</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<br>
</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
That said, the output suggests that the trace files were retrieved. So the main question appears to be why the renewable resources were not provisioned with capacity.</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<br>
</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
Regards,</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
Don Cameron</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<br>
</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt">
<span style="margin: 0px"><br>
</span></div>
<br>
</div>
</body>
</html>