Cyber-Physical Systems (BIL-435), week 13 of 14
Prof. Dr. Utku Kose, Süleyman Demirel University
Two parts of this interactive lab are virtual laboratories in three dimensions (3D) with the hardware in the foreground. Part A tries heating schedules in the plant room of the library. Part C predicts the end of life of the battery in its container and plans the order of new modules. Part B computes the end of life step by step, and Part D asks for the values of stage 13 by hand. Part E is a field task with the service software of the battery container. In the calculator every intermediate value is rounded, and the next step continues with the rounded value. The results of Parts A and C can be copied into the Colab notebook. Each laboratory first shows its site. Start moves the view closer, and the view returns to the site at the end. The laboratories work best with a mouse or a touchpad on a computer.
The plant room of the library B2 holds the substation of the district heating. Its plate heat exchanger, circulation pump, mixing valve, heat meter and heating controller stand in front of the wall. The controller now holds 17 C at night and heats to 21 C from 6:00 on weekdays and from 8:00 at weekends. On cold mornings the library is still cold when it opens. The twin of Week 12 runs on the screen and answers what-if questions about the schedule.
Choose the setpoint at night and the start of the heating below the view. Run the observed week of February, or 300 possible weeks of weather and visitors. Your missions: First, run the current schedule on the observed week. Second, find a schedule with a comfort deficit below 0.5 K h that needs at most 5800 kWh in the observed week. Third, run that schedule over 300 weeks and keep the probability of a comfort deficit above 1 K h below 10 percent.
| Run | Night (C) | Start | Weeks | Energy (kWh) | Comfort deficit (K h) | P(deficit above 1 K h) |
|---|
Back to the lecture: What-if analysis with the twin, where the text continues after the box of this part.
Continue in Colab, section 2: Paste your schedules into MY_SCHEDULES and compare them with the model.
The calculator follows the formulas of the lecture for the battery of the campus. Now, after 3.00 years, it has made 1078.3 cycles. The calculator computes the cycle ageing per year, the quadratic equation for the end of life, its root and the remaining useful life. The cycle ageing b is entered per 1000 cycles.
Back to the lecture: Predictive maintenance and the remaining useful life, where the text continues after the box of this part.
Continue in Colab, section 3: Fit both models of the ageing to the capacity estimates.
The battery container of the campus holds five racks of modules and the inverter. At the end of every month, the battery management system estimates the usable capacity from the energy of a full discharge in daily operation. A capacity test checks the estimate once a year. After three years the capacity has fallen from 500 to 460 kWh. The battery reaches its end of life at 80 percent, 400 kWh, and new modules take six months to arrive.
Choose the model of the ageing, the cycles per day from now on and the month of the order below the view, and press Run the prediction. Your missions: First, predict the end of life with the linear model. Second, predict it with the model of calendar and cycle ageing at 1 cycle per day. Third, the campus plans frequency regulation with 1.5 cycles per day. Find the latest order month for which the modules arrive before the end of life with a probability of at least 95 percent.
| Run | Model | Cycles per day | Order (months from now) | End of life (years) | P(modules in time) |
|---|
Back to the lecture: The uncertainty of the remaining useful life, where the text continues after the box of this part.
Continue in Colab, section 4: Paste your plans into MY_ORDERS and compare them with the model.
A battery of 500 kWh ages with $a = 0.025$ per square root of a year and $b = 0.00004$ per cycle and makes one cycle per day: Compute its capacity after 6 years. Five possible weeks of the library need 5210, 5480, 5390, 5720 and 5600 kWh: Compute their mean and the share of the weeks above 5500 kWh.
Back to the lecture: The campus microgrid, stage 13: Asking the twin, where the text continues after the box of this part.
Continue in Colab, section 5: Compute the results of stage 13 of the campus microgrid.
The yearly capacity test of the battery in Part C is due. After three years, the battery management system (BMS) estimates the usable capacity at 460.0 kWh, and the model of ageing builds on these estimates. The service software on the laptop of the engineer runs the test procedure of the maker step by step. Its screen shows the state of charge (SOC), the temperatures of the racks and the energy that the battery delivers. The battery stays out of service for most of a day.
Back to the lecture: In the field: The yearly capacity test, where the text continues after the box of this part.
Answer each question, rate your confidence and check the answer. The self-assessment is for your own practice and does not count towards the grade. Results stay in this browser.
Write a short answer to each question. The text is saved in this browser and is included when you export the learning log, together with the results of the practice parts.