Simulation of a Fuel Cell Hybrid Vehicle ( Fuel Cell + Battery only )

13 views (last 30 days)
Hi folks,
Can any one help me in buiding the model of Fuel Cell Hybrid Vehicle. One model is already here but not running on version R2024b. Error message is regarding missing libraries. The exact errors are mentioned below:
Error in 'power_FCV_powertrain/Energy Management Subsystem': Failed to evaluate mask initialization commands.
Caused by:
Unrecognized function or variable 'spsdrivelogo'.
Variable 'spsdrivelogo' does not exist.
Suggested Actions
Load a file into base workspace.
Fix
Create a new variable.
Fix
Component:Simulink | Category:Model error
Failed to load library 'DC6DriveInternalModels' referenced by 'power_FCV_powertrain/FCV Electrical Subsystem/DC-DC converter/DC//DC converter/Chopper'.
Component:Simulink | Category:Model error
Error in 'power_FCV_powertrain/FCV Electrical Subsystem/PM Synchronous Motor Drive This block is based on the AC6 drive block/Speed Controller': Failed to evaluate mask initialization commands.
Caused by:
Unrecognized function or variable 'spsdrivelogo'.
Variable 'spsdrivelogo' does not exist.
Suggested Actions
Load a file into base workspace.
Fix
Create a new variable.
Fix
Component:Simulink | Category:Model error
Error in 'power_FCV_powertrain/FCV Electrical Subsystem/PM Synchronous Motor Drive This block is based on the AC6 drive block/VECT': Failed to evaluate mask initialization commands.
Caused by:
Unrecognized function or variable 'spsdrivelogo'.
Variable 'spsdrivelogo' does not exist.
Suggested Actions
Load a file into base workspace.
Fix
Create a new variable.
Fix
Component:Simulink | Category:Model error
Failed to load library 'AC6DriveInternalModels' referenced by 'power_FCV_powertrain/FCV Electrical Subsystem/PM Synchronous Motor Drive This block is based on the AC6 drive block/VECT/Current Regulator'.
Component:Simulink | Category:Model error
Kindly revert.
Regards, Bhasker Sharma

Answers (1)

Kothuri
Kothuri on 17 Jan 2025
The errors you are encountering while attempting to run the Fuel Cell Hybrid Vehicle (FCV) model in MATLAB/Simulink version R2024b are caused by missing libraries and variables.
  • Ensure that the required toolboxes for this model are installed and compatible with R2024b. You can use the below command to check the toolboxes required for the model.
license('inuse')
  • The errors indicate that the "DC6DriveInternalModels" and "AC6DriveInternalModels" libraries are referenced in the model but cannot be found.
You can refer the below documentation links on:
You can refer the below file exchange examples:
  3 Comments
Bhasker
Bhasker on 9 Feb 2025
I found simular simulink blocks used in some other models but still there were some errors like "missing variables" which are still there. I am unable to run this model on MATLAB R2024b.

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!