This document describes the main aspects of modeling and simulation of the Typhoon HIL Toolchain using the Residential Energy library. A simple system composed of a grid, a Battery Energy Storage System (BESS), a Photovoltaic (PV) System, and home appliances is used as a reference for this kind of application.
General Description
Figure 1 shows the single-line diagram of the Residential Energy Example. The example simulates a typical household energy application comprised of renewable generation (PV and BESS) and loads (home appliances). The building is supplied by a low-voltage utility feeder (120 V, in a split-phase configuration), and all elements are connected to this voltage level. The components are connected to a common bus representing the house’s Breaker Panel. A circuit breaker is used as a circuit protection element for each branch. The following sections describe the modeling and simulation process of this system.
Modeling
Figure 2 shows the Residential Model converted to the Typhoon HIL Toolchain using the Residential Energy library. Besides the main components from the library — Split-phase grid, PV System (avg), BESS (avg), ZIP Loads, Power Electronics Loads, and Thermal Magnetic breakers — the model is also composed of elements from the core library. The "Meter Grid," "Meter PV," and "Meter BESS" are subsystems composed of internal Single-phase meters to perform measurements at these elements (current, voltage, and power). "Coupling and Meter Circ1" and "Coupling and Meter Circ2" have internal core coupling elements to implement core partitioning for the model. Partitioning is required due to the number of power electronic components and ideal switches in the model.

As the BESS and PV only operate in grid-following mode, the status of the downstream circuit breaker is used as an input to turn on/off their internal controllers (the same approach is applied to the home loads, avoiding operation during island conditions). Both inverters have the same power rating (5 kVA), and circuit breakers of 30 A are used as protection elements.
The home loads are divided into two unbalanced circuits according to Table 1. Circuit breakers of 40 A are used for each load circuit.
Circuit 1 |
Circuit 2 |
||||
---|---|---|---|---|---|
Appliance |
L1 (W) |
L2 (W) |
Appliance |
L1 (W) |
L2 (W) |
GIL (ZIP) |
600 |
GIL (ZIP) |
600 |
||
GIL (ZIP) |
600 |
CFL (PE) |
150 |
||
GIL (ZIP) |
600 |
CFL (PE) |
150 |
||
Space Heating (ZIP) |
2500 |
2500 |
Water Heating (ZIP) |
3000 |
3000 |
HP Consumers (PE) |
750 |
Electric Oven (ZIP) |
1500 |
1500 |
|
HP Consumers (PE) |
500 |
Refrigerator (ZIP) |
180 |
||
Refrigerator (ZIP) |
360 |
HP Consumers (PE) |
500 |
||
Microwave Oven (PE) |
600 |
600 |
|||
Total Circ. 1 |
4200 |
4210 |
Total Circ. 2 |
5900 |
5880 |
Simulation
Figure 3 shows the SCADA Panel of the Residential Energy Example Model. Sliders are used as toggles to turn on/off the circuit breakers of the model. LEDs indicate the status of internal protection functions for each breaker (overload and short-circuit protection). A PV Monitor and Trace Graph measure the power of the PV and BESS, respectively. Sliders are also used to set the power references for these elements. For the PV, the user can change the irradiance and the temperature of the PV panels. For the BESS, the sliders directly provide the power references for the controller. Each load can be turned on/off individually using the checkbox under the "Load Panel" group widget. The "Capture/Scope" widget can be used to evaluate the waveforms at different points of the circuit. Figure 4, for example, measures the waveforms of Circuit 2 for the given point of operation.

