Closed epogrebnyak closed 6 years ago
Microfunctions did not do a good job for the program, it is unclear what is the chain of calculations.
I suggest you can write out the algorithm that you are performing in your own words right about here:
https://github.com/epogrebnyak/MonteCarlo-Energysavings/blob/6f70cb6f7ed8fcdb8e1f920d93f55f71201c76ae/monte_carlo.py#L51-L52
I think we can easily speed up and clarify the calculation once algorithm is there.
Microfunctions did not do a good job for the program, it is unclear what is the chain of calculations.
I suggest you can write out the algorithm that you are performing in your own words right about here:
https://github.com/epogrebnyak/MonteCarlo-Energysavings/blob/6f70cb6f7ed8fcdb8e1f920d93f55f71201c76ae/monte_carlo.py#L51-L52
I think we can easily speed up and clarify the calculation once algorithm is there.