Xdemia
Dimensioning of a PV-battery system

Dimensioning of a PV-battery system

0 Enrollments Level : Intermediate

Relevance

The global energy transition is driving rapid adoption of renewable energy technologies, with solar photovoltaics (PV) playing a central role. However, deploying PV in residential and commercial contexts is not simply a matter of maximizing installed capacity. System design requires careful consideration of site-specific constraints, such as roof geometry, shading, inverter sizing, and regulatory requirements. At the same time, economic viability must be ensured through cost modeling, investment analysis, and performance forecasting. Batteries add another dimension to system design, offering opportunities for load shifting and grid independence, but also introducing new costs and constraints.

This course addresses these challenges by combining technical modeling of PV and battery systems with economic evaluation tools. Students will learn to work with irradiance and load data, simulate solar production, model power flows with and without storage, and assess energy bills under different tariff structures. The course also introduces investment analysis techniques such as Net Present Value (NPV), Internal Rate of Return (IRR), and payback time. By integrating these aspects into a single computational framework, participants gain the skills to optimize PV–battery systems for both technical feasibility and economic performance.

Abstract

This course provides a comprehensive introduction to the modeling, simulation, and economic evaluation of solar photovoltaic (PV) and battery systems. Participants will develop a Python-based framework that integrates multiple components of system design: irradiance modeling, solar energy production, load interaction, power flow simulation, and cost analysis. The technical modules cover the calculation of tilted irradiance, solar production per panel, constraints on installation (roof geometry, inverter sizing, grid export limits), and battery charge–discharge dynamics. On the economic side, students will analyze energy bills under static and dynamic tariff structures and assess investment feasibility using discounted cash flow methods.

A key element of the course is the exploration of constraints that ensure realistic and feasible designs, including geometric, electrical, economic, and regulatory limitations. Optimization methods are then applied to identify configurations that maximize economic performance (e.g., IRR or NPV) while remaining technically valid. The course culminates in an integrated framework that allows participants to simulate multiple scenarios, evaluate trade-offs, and recommend optimal system designs for given contexts.

This hands-on approach equips participants with both the theoretical background and practical coding skills to evaluate PV–battery investments, bridging the gap between engineering, economics, and policy.

Learning Outcomes

After completing this course, students will be able to:

  • Process and analyze load and irradiance data for PV system modeling.

  • Compute solar positions and tilted irradiance using established libraries (e.g., pvlib).

  • Simulate PV generation and battery charge–discharge cycles under realistic conditions.

  • Apply technical constraints such as roof geometry, panel orientation, and inverter capacity.

  • Model energy bills under different tariff structures, including capacity-based and dynamic pricing.

  • Conduct investment analysis using NPV, IRR, and payback time. Optimize PV–battery configurations for both technical feasibility and economic performance.

Prior Knowledge

  • Bachelor degree in an engineering discipline

  • General coding experience, specific xperience in Python is helpful,

Keywords

Elements

1. About this Building Block

About this Building Block

Course document

Dimensioning of a PV-Battery system.pdf

2. DATA

data

Generic load profiles that can be used as input for the scenario. Irradiance data for Belgium is also provided. For other load and irradiance data the student can find information in the Annex of the course document.

Load_profile_1.xlsx
Load_profile_2.xlsx
Load_profile_3.xlsx
Load_profile_4.xlsx
Load_profile_5.xlsx
Irradiance_data.xlsx
Load_profile_6.xlsx

3. Simulations

simulations

Python script that was used in creating the course document. The .ZIP contains all the code to run a simulation when the input data is provided. The student can use this code as a base code to tailor for a specific use case or implementation.

P4ELECS_PV_BAT_Sizing.zip

Suggested Building Block