Add EMS scripts, PV/battery models, MPPT, Simulink skeleton and masks - #1
Open
i8256120-create wants to merge 1 commit into
Conversation
Adds import, load profile, init and model-build scripts; PV, MPPT, battery SOC, EMS function; mask templates and controller scaffolding. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a modular Simulink skeleton and MATLAB scripts for a rule‑based EMS for a grid‑connected PV + battery rickshaw charging station. Includes NASA POWER import, load profile generator, PV/battery/MPPT models, EMS MATLAB function, mask templates, and basic PI controllers.
How to test:
Run scripts/init_simulation
data = import_nasa_power('full\path\to\CSV')
loads = generate_load_profiles();
scripts/build_simulink_model; scripts/flesh_out_model;
Open EMS_Solar_Rickshaw.slx, run add_masks_and_controllers, tune masks, run 24‑hr sim.
Files added:
scripts/, src/, docs/* (see commit/patch for full list)
Notes:
High-level (1‑hour) simulation; converters use simple efficiency models and placeholders for some unit conversions. Sensor signal mapping in docs/signal_mapping.txt.
Ready for reviewer testing and parameter tuning.