PyPSA / pypsa-usa

PyPSA-USA: An Open-Source Energy System Optimization Model for the United States
https://pypsa-usa.readthedocs.io
MIT License
49 stars 19 forks source link

Use PyPSA implemnetation of Haversine #158

Open trevorb1 opened 7 months ago

trevorb1 commented 7 months ago

Feature Request

We have a haversine function here. PyPSA has this function in their geo module (see here). We should switch to using PyPSAs as it has checks and tests.

Suggested Solution

No response

Additional Info

No response

ktehranchi commented 7 months ago

There was a reason I didn't use that function, and I will have to go back to test it to remind myself why. I think it was very slow for large vectors.