How to connect H2 tank with fuelcell

4 ビュー (過去 30 日間)
Ioannis
Ioannis 2023 年 9 月 13 日
編集済み: Alan 2023 年 9 月 21 日
Hello, I'm receiving the below message while trying to connect the H2 tank with the fuel cell. While on fuel cell side the unit is expect in Pa
on H2 (electrolyser) side the unit is kg/s. My impresseion was using a gain or an integrator which could change the unit. Any will help wiil be appreciated.
=== Simulation (Elapsed: 7 sec) ===
Error:Error compiling Simscape network for model ee_solar_standalone_acsystem_withbatterybackup_elec.
Caused by:
['ee_solar_standalone_acsystem_withbatterybackup_elec/Electrolysis unit/PS Integrator']: Type mismatch for equation. The left hand side of the equation is {[1x1 double], 'bar/s'} and the right hand side of the equation is {[1x1 double], 'kg/s'}.
x = {[1x1 double], 'bar'}
I = {[1x1 double], 'kg/s'}

回答 (1 件)

Alan
Alan 2023 年 9 月 21 日
編集済み: Alan 2023 年 9 月 21 日
Hi,
I understand that you want to connect to subsystems, and you are facing an issue with units.
Different sensors can be used to match units on the Hydrogen tank and Fuel cell sides. Currently a Flow Rate sensor is used which outputs kg/s. If kg/s unit is to be retained, the input on the fuel cell side will have to be changed. Whereas, if Pa is required, a Pressure & Temperature sensor can be used instead.
To view the unit output by the sensors, enable Units from Information Overlays, which can be found in the Debug tab.
Here are different ways to connect the Hydrogen tank:

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by