Battery Connected DC-DC Converter Duty Cycle from "Green Hydrogen Microgrid"

7 visualizaciones (últimos 30 días)
Hello, I am using the "Green Hydrogen Microgrid" model, but I'm trying to change the battery DC-DC Converter to run off of a duty cycle pulse. The pulse was created to be 1's and 0's when the solar power is below a ceritian range. However, when I change the battery/storage connected DC-DC converter, I run into multiple problems. If I use the buck boost converter, then I recieve various errors such as "input voltage must be greater than or equal to zero". Is there a way I can get this model to run with the battery connected DC-DC converter utilizing a duty cycle pulse. Thank you for the help.
  4 comentarios
Sabin
Sabin el 3 de Oct. de 2023
The model is missing CompressorMapSpeedLines.mat. Are you trying to use the PWM signal to control the DC-DC converter or the duty cycle? If you want to use the pulse that will slow down the simulation. If you preffer to use the duty cycle as a value between 0 and 1 (but not a pulse) that can be done without any impact to simulation speed.
James Vrtis
James Vrtis el 3 de Oct. de 2023
Yes, sorry I thought I resolved the compressor problem after attaching the slx file. I'm not sure how to save the imported Base Workspace variables from " ee_electrolyzer_grid_nh3.m" which contains the compressor data. I would be fine with either just to get the DC-DC Converter controled by this signal.

Iniciar sesión para comentar.

Respuestas (1)

Sabin
Sabin el 3 de Jul. de 2025
It appears that there is an issue with the Signal Processing logic to compute the duty cycle. It is possible to configure the DC-DC converter to use duty cycle but the duty cycle is expected to be a value between 0 and 1 rather than a pulse. Duty cycle is a parameter that describes the proportion of time a PWM signal is ON versus OFF within a given period. Best to revise the algorithm for computing the duty cycle.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by