Skip to content

Conversation

@Bill-Becker
Copy link
Collaborator

@Bill-Becker Bill-Becker commented Sep 10, 2025

  • Update python version to 3.12, from 3.8.
    • Mainly for running EVI-EnLitePy (below) but also good for functionality and security
    • Only bump Django to LTS v4.2 for compatibility
  • Add /ensite endpoint to run EVI-EnLitePy (light-weight python API for EVI-EnSite)
  • Updates to pod/service resource allocation to:
    • Less CPU and memory allocations for the development and staging servers, except:
    • More memory needed for celery on all servers because of the new python
    • Less memory for non-optimization Julia pods (the standalone ones, whereas the celery+julia pods do the optimizations)

@Bill-Becker Bill-Becker changed the title EVI-EnSitePy Endpoint for EV Charging Profiles EVI-EnLitePy Endpoint for EV Charging Profiles Sep 23, 2025
…ith enrichment_version=1; update UI input contract docs; comparison script defaults to enriched output
@bpulluta
Copy link
Collaborator

bpulluta commented Sep 25, 2025

@Bill-Becker This sets default enrichment (normalized + annual metrics + utilization) and adds enrichment_version=1 so the UI only sends the minimal input JSON (chargers / vehicles / arrival / maxChargeDurationMin). run_enlitepy_compare.py defaults were updated to match. Docs now clearly explain the simplified contract. No breaking changes—only additive. We can remove the helper scripts once we have a working test with the ui

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bpulluta we'll want to delete this before merging if it's just for reference to migrate code to the /ensite view.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bpulluta should this go inside of the /load_builder directory, or did you want to keep it at the top-level?

@Bill-Becker
Copy link
Collaborator Author

@bpulluta I assume you tested this locally based on the documentation, but just checking if you wanted me to deploy this update to the development server yet?

@bpulluta
Copy link
Collaborator

bpulluta commented Sep 25, 2025

@bpulluta I assume you tested this locally based on the documentation, but just checking if you wanted me to deploy this update to the development server yet?

@Bill-Becker I couldn't run the docker container locally to test but i did test with the deployed server so i think this will work. Can you test locally and confirm that it works. We can remove the extra script and README that i used for testing

@Bill-Becker
Copy link
Collaborator Author

@bpulluta I assume you tested this locally based on the documentation, but just checking if you wanted me to deploy this update to the development server yet?

@Bill-Becker I couldn't run the docker container locally to test but i did test with the deployed server so i think this will work. Can you test locally and confirm that it works. We can remove the extra script and README that i used for testing

I think the README is useful to keep if we think it will help users/developers, but maybe we move it into that /load_builder folder where the /ensite endpoint lives.

@Bill-Becker Bill-Becker marked this pull request as ready for review September 29, 2025 15:31
@Bill-Becker
Copy link
Collaborator Author

@rathod-b could you do a quick sanity check on these updates to Python 3.12. You don't have to review the new /ensite endpoint with all the new code. @bpulluta and I can handle that review part.

replicating the working migrations from `develop` and creating migration file for any missing model inputs or outputs
Copy link
Collaborator

@rathod-b rathod-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated expected API functionality and fixed some migration issues.

@bpulluta
Copy link
Collaborator

@Bill-Becker @rathod-b, everything seems to be working on my side

@Bill-Becker will you be merging?

Copy link
Collaborator

@bpulluta bpulluta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested Ensite intergation and it works correctly

@Bill-Becker Bill-Becker merged commit 9cd2423 into develop Sep 30, 2025
1 check passed
@Bill-Becker Bill-Becker deleted the ensite-py312 branch October 7, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants