Energy Storage and Transfer Model Worksheet 1A: Foundations, Equations, and Practice Problems
介紹
Welcome to a comprehensive guide designed for engineers, students, and practitioners who are building intuition and practical skills around energy
細節
Nov.2025 28
意見: 27
Energy Storage and Transfer Model Worksheet 1A: Foundations, Equations, and Practice Problems

Welcome to a comprehensive guide designed for engineers, students, and practitioners who are building intuition and practical skills around energy storage and transfer modeling. This post presents Worksheet 1A as a structured learning tool that combines theory, math, and hands-on practice. Whether you are planning a grid-scale storage project, a behind-the-meter system, or a renewable microgrid, the concepts in this article will help you frame, solve, and interpret a basic energy storage and transfer model with clarity and rigor.

Why Worksheet 1A matters in energy storage modeling

Worksheet 1A is the foundational step in a series of modeling exercises intended to demystify how storage devices interact with loads, generation, and the network. It focuses on a single-storage, single-node scenario to keep the math approachable while preserving realism. The worksheet teaches you to (a) define the decision variables for charging and discharging, (b) apply the state of charge (SOC) dynamics, (c) enforce physical and operational constraints, and (d) reason about energy cost, arbitrage opportunities, and system reliability. This approach aligns with Google SEO best practices for technical content: clear structure, scannable sections, keyword-rich headings, and practical examples that readers can reuse in their own worksheets.

Core concepts and vocabulary you will encounter

To build a solid foundation, here are the key terms and definitions you’ll repeatedly use in Worksheet 1A. Use these as a glossary as you work through the equations and the example problem.

  • : A device or array that stores energy for later use. Common technologies include lithium-ion batteries, flow batteries, thermal storage, and supercapacitors.
  • : The current energy content of the storage system, typically expressed in megawatt-hours (MWh) or percent of usable capacity.
  • : The rate at which the storage charges, usually in MW. This energy is injected into the storage with some charging efficiency.
  • : The rate at which the storage delivers energy to the system, usually in MW. Discharging incurs a discharging efficiency loss.
  • : The product of charging and discharging efficiencies that describes the fraction of energy stored that can be retrieved after one full cycle.
  • : The process of breaking the horizon into equal time steps (e.g., 1 hour) for the purposes of numerical modeling and optimization.
  • : Lower and upper bounds on the SOC, reflecting safe operation and hardware limits (SOC_min ≤ SOC ≤ SOC_max).
  • : A fundamental constraint that ties together loads, generation, charging, discharging, and grid imports/exports over each time step.
  • : The quantity you minimize or maximize (e.g., total grid energy cost, total operation cost, or total revenue from energy arbitrage)."

Mathematical structure of the energy storage model

This section introduces the essential variables, parameters, and equations that form Worksheet 1A. We keep the math approachable, but rigorous enough for practical use in simple optimization exercises and classroom assignments.

Key decision variables

  • P_ch,t: Charging power at time t (MW). Non-negative. P_ch,t ≤ P_ch,max.
  • P_dis,t: Discharging power at time t (MW). Non-negative. P_dis,t ≤ P_dis,max.

State of charge evolution

Let dt be the duration of each time step in hours, and let η_ch and η_dis be the charging and discharging efficiencies, respectively. If SOC_t denotes the state of charge at the end of time t (in MWh), the SOC update equation is:

SOCt+1 = SOCt + dt × (η_ch × P_ch,t − P_dis,t / η_dis)

This equation captures the energy that remains in the storage after charging and after discharging. The term η_ch × P_ch,t accounts for losses during charging, while dividing P_dis,t by η_dis accounts for losses during discharging.

Constraints you typically include

  • SOC bounds: SOC_min ≤ SOC_t ≤ SOC_max for all t
  • Charging/discharging limits: 0 ≤ P_ch,t ≤ P_ch,max, 0 ≤ P_dis,t ≤ P_dis,max
  • Non-simultaneity or mutually exclusive operation (optional in Worksheet 1A): P_ch,t × P_dis,t = 0, for a simpler formulation
  • Power balance for the system node (simplified heuristic): The net grid import at time t is adjusted by storage actions to meet the residual load minus local generation after storage (see example)

A simple objective for Worksheet 1A

One common objective for an introductory worksheet is to minimize the total energy cost drawn from the grid over the horizon, while meeting a given load and utilizing storage opportunistically. The objective can be written as:

Minimize over {P_ch,t, P_dis,t} for t = 1..T:

Cost = Σt=1..T [ c_t × P_grid,t × dt + c_d × (amount of degradation or replacement cost per cycle) ]

Where c_t is the time-varying grid price and P_grid,t is the net grid power at time t (positive for imports, negative for exports). In Worksheet 1A, you can start with a simplified assumption: there is no energy revenue from exporting surplus PV, and you only pay for grid imports. You can extend to include export prices or degradation costs in later worksheets.

A practical worksheet setup: steps you can follow

  1. Choose the horizon T (e.g., 6 hours or 24 hours) and the time step dt (commonly 1 hour).
  2. Set the storage characteristics: E_max (SOC_max), E_min (SOC_min), P_ch,max, P_dis,max, η_ch, η_dis.
  3. Define the system demands and generation: load profile L_t and local generation G_t (for example from PV).
  4. Assign a grid price profile c_t for each time step. This helps you explore energy arbitrage opportunities.
  5. Initialize SOC at t = 0: SOC_0 (e.g., 50% or a specific MWh value within [SOC_min, SOC_max]).
  6. Formulate the decision variables: P_ch,t and P_dis,t for t = 1..T, including the SOC update equations and all constraints.
  7. Solve the resulting linear or mixed-integer program using a solver (common options: linear programming (LP) or MILP in tools like Python with PuLP, Pyomo, or MATLAB/Excel optimizers).
  8. Interpret the results: read off the optimal P_ch,t, P_dis,t, SOC_t, and P_grid,t. Use these to analyze how the storage behaves, how much you saved on the grid bill, and where there are opportunities for improvement.

Worked example: a compact, illustrative 6-hour problem

Below is a compact, illustrative scenario you can treat as a worked example for Worksheet 1A. The goal is to show how the pieces fit together and how you might fill in a real worksheet. Note: this example uses simple numbers to keep the arithmetic transparent. In a classroom or project setting, you would plug your own data into the same framework.

  • Time horizon: 6 hours (t = 1..6), dt = 1 hour
  • Storage capacity: E_max = 6 MWh, E_min = 1 MWh
  • Initial SOC: SOC_0 = 3.0 MWh
  • Charging/discharging: P_ch,max = P_dis,max = 2 MW
  • Efficiencies: η_ch = η_dis = 0.95
  • Load and PV: L = [2, 3, 2, 4, 3, 2] MW; G = [0, 0, 6, 0, 0, 0] MW
  • Grid price: c = [40, 38, 60, 55, 50, 45] $/MWh

Step-by-step decisions and SOC trajectory

We follow a simple policy for Worksheet 1A: use storage to shave the grid when there is positive demand, and charge when there is PV surplus, subject to the SOC and power limits. We also assume any PV surplus beyond charging capacity is curtailed (not sold back to the grid) for this basic demonstration.

  • D1 = L1 − G1 = 2 − 0 = 2 MW of demand to meet from the system.
  • Available discharge: P_dis ≤ 2 MW, but SOC must stay above SOC_min. With SOC0 = 3.0, the maximum allowed discharge that keeps SOC1 ≥ 1 MWh is P_dis ≤ η_dis × (SOC0 − SOC_min) = 0.95 × (3 − 1) = 1.9 MW.
  • Choose P_dis,1 = 1.9 MW. Energy withdrawn over the hour = P_dis,1 / η_dis = 1.9 / 0.95 = 2.0 MWh.
  • SOC1 = SOC0 − 2.0 = 1.0 MWh.
  • Remaining demand not met by storage: D1 − P_dis,1 = 2 − 1.9 = 0.1 MW. This is met by grid import.
  • P_grid,1 = 0.1 MW. Cost contribution = 0.1 × 40 = $4.

  • D2 = L2 − G2 = 3 − 0 = 3 MW.
  • SOC1 = 1.0 MWh; you cannot discharge further without dropping below SOC_min. So P_dis,2 = 0.
  • All demand must be met by the grid: P_grid,2 = 3 MW. Cost contribution = 3 × 38 = $114.
  • SOC2 remains 1.0 MWh.

  • D3 = L3 − G3 = 2 − 6 = −4 MW (PV surplus of 4 MW).
  • We can use the PV surplus to charge the storage. Maximum charging given current SOC: SOC can rise up to SOC_max = 6; with SOC2 = 1.0, the maximum added SOC is 5 MWh. The energy added by charging is η_ch × P_ch × dt; to maximize charge with P_ch ≤ 2 MW, set P_ch = 2 MW → added energy = 0.95 × 2 × 1 = 1.9 MWh, so SOC3 = 1.0 + 1.9 = 2.9 MWh, which is below the max.
  • Chosen P_ch,3 = 2 MW; P_dis,3 = 0
  • Grid import or export for this hour: since loads can be served by PV and the battery, grid import is zero in this simplified view. Note: depending on your policy, you may also export any unused PV energy if allowed.

  • D4 = L4 − G4 = 4 − 0 = 4 MW.
  • SOC3 = 2.9 MWh; maximum discharge constrained by SOC_min after hour end: P_dis ≤ η_dis × (SOC3 − SOC_min) = 0.95 × (2.9 − 1) ≈ 1.805 MW.
  • Choose P_dis,4 ≈ 1.8 MW. Energy withdrawn ≈ 1.8 / 0.95 ≈ 1.895 MWh.
  • SOC4 ≈ 2.9 − 1.895 ≈ 1.005 MWh (rounded to 1.0 MWh for simplicity).
  • Remaining demand met by grid: P_grid,4 ≈ 4 − 1.8 = 2.2 MW. Cost contribution ≈ 2.2 × 55 = $121.

  • D5 = L5 − G5 = 3 − 0 = 3 MW.
  • SOC4 ≈ 1.0 MWh; at SOC_min, you cannot discharge without violating the bound. P_dis,5 = 0.
  • All demand must be met by grid: P_grid,5 = 3 MW. Cost contribution = 3 × 50 = $150.
  • SOC5 remains 1.0 MWh.

  • D6 = L6 − G6 = 2 − 0 = 2 MW.
  • Again, SOC is at the minimum, so P_dis,6 = 0.
  • P_grid,6 = 2 MW. Cost contribution = 2 × 45 = $90.
  • SOC6 remains 1.0 MWh.

  • Total grid import across the 6 hours (approximate): 0.1 + 3 + 0 + 2.2 + 3 + 2 = 10.3 MW on average when scaled by the hour, yielding a total cost around $4 + $114 + $0 + $121 + $150 + $90 ≈ $479.
  • Storage behavior: The model used discharging in the early hours to shave peak demand, then charged on PV surplus in hour 3, and preserved SOC to avoid violating minimum SOC constraints later on. This demonstrates how Worksheet 1A supports strategic decision-making about when to store energy and when to release it.
  • Important caveat: In this simplified example, any PV surplus beyond charging capacity is not modeled as an export revenue. Real-world implementations may include an export price or a separate constraint that captures curtailment costs or revenue when PV exceeds storage and demand.

Practical tips for educators and practitioners using Worksheet 1A

  • Start with a clean data sheet: gather hourly load, on-site generation, and price signals. Consistency in units (MW, MWh, hours) is critical for avoiding arithmetic mistakes.
  • Define SOC bounds carefully based on the storage chemistry. For lithium-ion systems, you might choose SOC_min around 10–20% of capacity and SOC_max near 90–100% to prolong life.
  • Document your assumptions: whether you allow simultaneous charging and discharging, how you handle curtailed PV energy, and how you price exports back to the grid.
  • Use the worksheet to compare strategies: greedy discharging to meet peak demand vs. arbitrage-driven charging during low-price hours. This helps highlight the value of storage in different market conditions.
  • Extend the worksheet to more realistic objective functions: include degradation costs per cycle, fixed operating costs, or revenue from exporting energy to the grid. This makes the optimization objectives align with real project economics.
  • When teaching, pair Worksheet 1A with a simple solver tutorial: show students how to implement the SOC update and constraints in a solver like Python’s PuLP or Pyomo, or in Excel with the Solver add-in. This makes the math tangible and reproducible.

Frequently asked questions (FAQ) in a practical context

  1. Q: Why do we divide P_dis by η_dis in the SOC update equation?
  2. A: Discharging energy suffers losses. The actual energy drawn from SOC to deliver P_dis for one hour is P_dis × dt / η_dis, so dividing by η_dis accounts for the energy lost during discharge.
  3. Q: Can charging and discharging occur in the same hour?
  4. A: In a basic Worksheet 1A, you typically restrict to one mode per hour (charging or discharging) for simplicity. More advanced models can allow simultaneous charging and discharging and include a cross-term in the SOC dynamics.
  5. Q: How should I treat PV curtailment or energy export?
  6. A: In a simple worksheet, you may assume PV surplus is curtailed if the storage is full or charging capacity is reached, with no revenue from exports. For a more complete model, add an export variable with its own price or constraint to reflect grid feedback.

Takeaways and next steps

Worksheet 1A provides a structured blueprint for thinking about energy storage and transfer in a practical, solvable way. By defining clear decision variables (P_ch and P_dis), enforcing SOC constraints, applying simple efficiency losses, and using a horizon-based objective, you can explore how storage could reduce grid costs, smooth demand, and enable higher penetration of variable renewable energy. The 6-hour illustrative example shows how the SOC evolves, how storage can shave peaks, and how to account for price signals in a straightforward setting.

Next steps you can take to deepen your understanding:

  • Experiment with different SOC_min and SOC_max values to see how aggressive you can be with charging and discharging while preserving battery health.
  • Introduce a varying price profile c_t and observe how optimal strategies shift toward charging during cheap hours and discharging during expensive hours.
  • Incorporate a simple degradation cost per cycle to reflect the economic impact of cycling storage technology.
  • Expand to a two-node or microgrid scenario to study interactions between storage, local generation, and grid import/export policies.
  • Compare LP vs MILP formulations if you introduce binary decisions (e.g., mutually exclusive charging vs discharging channels, or mode switches).

Whether you are preparing coursework, conducting a workshop, or evaluating a real project, the energy storage and transfer model Worksheet 1A is a flexible starting point. Use it as your scaffold, fill in your data, and iteratively refine your model to align with the performance metrics that matter most for your goals.

China Supplier Service Hotline: +86 18565158526 / Terms of Use / Privacy Policy / IP Policy / Cookie Policy
REQUEST MORE DETAILS
Please fill out the form below and click the button to request more information about
Fill out the form below to make an inquiry
Product Name*
Your Name*
Email*
Whatsapp/Phone*
Product Description*
Verification code*
We needs the contact information you provide to us to contact you about our products and services.
If your supplier does not respond within 24 hours, we will connect you with three to five qualified alternative suppliers.
我們使用 Cookie 來改善您的線上體驗。 繼續瀏覽本網站,即表示您同意我們使用 Cookie