阿尔斯通Grid used Model-Based Design with MATLAB®and Simulink®to model, simulate, document, and generate code for the HVDC VSC control system.
An Alstom Grid Senior Fellow developed the conceptual design with Simulink and Stateflow®。Using Simulink and Simscape Electrical™, he also built a plant model that included an AC grid connection, transformers, and loads, as well as insulated gate bipolar transistors (IGBTs) and capacitors for the lower-level power electronics submodules.
To verify the control design and plant model functionality, Alstom Grid engineers ran closed-loop simulations in Simulink. Next, they refined the control algorithms in preparation for deployment to a real-time target.
为了帮助管理系统的复杂性,Alstom网格工程师使用引用的Simulink模型将模型分区为库块,该库块对应于部署组件的DSP硬件。金宝app它们在块之间添加了接口,将模型转换为离散数学,并从变量步骤切换到固定步骤离散求解器。
使用嵌入式编码器®the engineers generated C code functions to define sequencing, system-level control, and individual phase controls. They deployed the C code to the DSPs in a 1.2 kilowatt–scale hardware simulator to verify the system’s real-time operation.
最后,工程师将控制算法移植到生产硬件,为24兆瓦的演示,并验证其设计为设计。
最终系统模型包括大约2,000个包含33,000个块,564个离散状态和250个状态流图的子系统。从该模型的控制器部分包括2,000个块,Alstom网格产生约10,000行的生产代码。使用Simu金宝applink Report Generator™,它们还生成了300多页的系统描述和功能规范文档。
The demonstrator system is currently in operation, and is receiving positive evaluations from prospective customers.