time series
Hello, dear friend, you can consult us at any timeif you have any questions, add WeChat: daixieit
EGS Individual Coursework
This coursework asks you to build and justify an energy system model, translate it into a computational pipeline, and produce defensible results supported by verification and visualisation. You may implement using self programming or AI-assisted “vibe coding”. The assessed outcome is not the programming language or the amount of code, or even your simulation results are correct or not. The assessed outcome is your modelling clarity (formulation to coding), explainability, verification evidence, and your analysis and insights. If you use any AI assistance, you must include an AI usage statement (Section 6); missing this statement triggers a mark cap.
You will choose one case study from Section 4 and develop a working model based on the provided datasets. The primary focus of this coursework is on formalising the problem into a mathematical model, writing verifiable code, and building engineering insights.
For your chosen case, your workflow must include:
Compulsory AI usage statement (mark cap). If you use any AI tool at any stage (code, writing, debugging, or analysis), you must include the AI usage statement in Section 6. If it is missing or materially incomplete, your coursework mark will be capped at 40%.
Base marks and extension marks. The coursework is designed with a set of base requirements i.e., base case, up to 90% of the marks. You then choose one or more extensions to earn the remaining 10% of the marks, giving a maximum total of 100%.
Programming language and tools. Any language is allowed (MATLAB, Python, etc.). Any libraries are allowed if you justify them and your results remain reproducible. AI assistance is allowed if you document it (Section 6).
By the end of this coursework you should be able to:
3 Datasets Provided (Download Pack)
A dataset pack is provided as a ZIP file containing several CSV files. All datasets are synthetic time series designed for coursework.
3.1 Files in the dataset pack
Table 1 summarises what you have available. You will normally use the files associated with your chosen case study.
|
File name |
What it contains |
|
caseA_smart_home_30min_summer.csv |
30 days at 30 minute resolution: PV (kW), base load (kW), import tariff (GBP/kWh), export price (GBP/kWh), ambient temperature (C). caseA_ev_events.csv
One EV charging requirement per day: arrival time, departure time, required energy (kWh), max charge power (kW). Used only if you choose the EV extension.
|
|
caseA_smart_home_30min_winter_optional.csv |
14 days at 30 minute resolution with an extra column: space heating demand proxy (kW thermal). Used only if you choose a heating extension. |
|
caseB_grid_battery_market_hourly.csv |
60 days at hourly resolution: day ahead price (GBP/MWh), imbalance price (GBP/MWh), ancil lary availability payment (GBP/MW/h), optional carbon intensity (kg/kWh). |
|
caseC_community_microgrid_hourly.csv |
14 days at hourly resolution: PV (kW), three loads (kW), import tariff (GBP/kWh), export price (GBP/kWh). |
|
caseD_moon_base_hourly.csv |
1418 hours at hourly resolution over 2 lunar synodic cycles: solar irradiance (W/m2 ), PV profile per kWp, subsystem demands (life support, thermal, comms, lighting, science, galley), total demand (kW), surface temperature (C). |
4 Choose One Case Study
Pick one case study below. Your report must clearly state which case you chose and which dataset files you used.
In each case study, it will likely require some exploration of the case to build your understanding and explore any missing assumptions required to solve the problem. The way to solve it is open ended, and we assess the formulation, explainability, evidence-based verification, and engineering insights.
The Problem. Using caseA_smart_home_30min_summer.csv, build a model that manages energy flows between PV generation, household electrical load, battery storage, and grid import/export under time-varying tariffs. You must implement and compare at least two dispatch policies (e.g., a simple self-consumption rule vs. a tariff-aware logic or full cost optimisation). Your report must:
Focus on formulating the policies mathematically, translating them into code, and providing explicit evidence of verification.
|
Parameter |
Default value |
|
Usable capacity |
5 kWh |
|
Max charge power |
2.5 kW |
|
Max discharge power |
2.5 kW |
|
Round-trip efficiency |
90% (ηch = ηdis = 0.95) |
|
Initial SOC |
50% of capacity |
|
Grid charging |
Allowed |

Choose one or more extensions: You can choose one of the following:
• EV integration: use caseA_ev_events.csv and add an EV charging requirement that must be met by the departure time. State discretisation rule for arrival/departure times; ensure energy requirement is met by departure.
Focus on formulating the trading rules mathematically, translating them into code, optimisation of the trading, and verifying that battery operational bounds are strictly respected.
Choose one or more extensions: You can choose one of the following:
• Market stacking: include the ancillary availability payment (review and build an ancillary market model first). Represent the tradeoff between reserving capacity for ancillary services vs. pure arbitrage.
4.3 Case C: Community Microgrid (PV + Shared Battery)
Choose one or more extensions: You can choose one of the following:
The Problem. Using caseD_moon_base_hourly.csv (∆t = 1 h, 1418 hours over 2 lunar cycles), build a sizing and dispatch model for a completely off-grid lunar base. The system experiences roughly 355 hours of sunlight followed by 355 hours of darkness, requiring extensive battery storage. You must size both the PV array (xPV in kWp) and battery (kWh) to guarantee zero load shedding over 2 full lunar cycles. Your report must:
Focus on the mathematical formulation of the energy balance, implementing the sizing/dispatch rules, and verifying that demand is fully satisfied. Note: No grid connection — feasibility depends entirely
Choose one or more extensions: You can choose one of the following:
This section defines what you must deliver for the base case. The base case is designed to be achievable with a clean simulator and strong verification. Check Table 2 for the marking rubrics of the report.
Your chosen extension should follow the same structure as the base case, but add a realistic extra feature and the verification to match: What you added involves defining the new component, constraint, or objective alongside any new parameters or data columns; this leads to what changed in the model, specifically the new equations or logic and their interaction with the existing system. How you verify and new insight are also needed for any extensions.
You must clearly indicate your chosen extension to receive the remaining 10% of the marks.
6 Compulsory AI Usage Statement (required even if you do not use AI at all)
You can use AI at different stages to complete this coursework and report, but you must use it responsibly and transparently. Your report must include a compulsory AI statement, even if you did not use AI at all (in which case you may state: “I have not used AI in completing this coursework”).
While this statement is not graded, please note: if it is missing, a 40% mark cap will be applied.
7 Marking Rubric (90 base + 10 extension = 100 max)
We will mark your submission based on your formulation, explainability, evidence-based verification, and engineering insights. We are marking the quality of your engineering report and your modelling approach, rather than just the final simulation results. Table 2 shows the marking breakdown.
|
Criterion |
Marks |
|
Model Formulation: Mathematical definition of the system, variables, constraints, and objectives; clarity of assumptions and unit consistency. |
20 |
|
Implementation and Explainability: Quality and transparency of the computational pipeline; readability of code logic and clarity in explaining the modelling decisions. |
20 |
|
Evidence-based Verification: Systematic checks (e.g., energy balance, boundary con ditions, unit tracking) proving that the code adheres to model physics and constraints and project alignments to ensure the designed deliverables are met. |
25 |
|
Engineering Insights: Result interpretation, trade-off analysis, and meaningful visu alisations that build engineering understanding. |
25 |
|
One extension (adds realistic complexity plus appropriate new checks and analysis) |
10 |
2026-03-20