工作点
从设定(配平)或仿真时间中找到模型工作点,在工作点处初始化模型
动态系统的工作点指定模型在特定时间的初始状态和根级输入信号。您可以使用命令行工具、稳态管理器或在使用模型线性化器线性化模型时查找工作点。有关工作点的详细信息,请参阅About Operating Points和Compute Steady-State Operating Points。
App
函数
模块
Trigger-Based Operating Point Snapshot | 在发生触发事件时生成工作点 |
Change Operating Points | 仿真期间在工作点之间切换 (自 R2023b 起) |
主题
稳态工作点
- About Operating Points
An operating point of a dynamic system defines the states and root-level input signals of the model at a specific time. - Compute Steady-State Operating Points
To obtain a steady-state operating point, you can trim your model using numerical optimization techniques or simulate your model until it reaches a steady-state condition. - Handle Blocks with Internal State Representation
The operating point object used for linearization and control design does not include Simulink® blocks with internal state representation, such as Memory and Transport Delay blocks. - View and Modify Operating Points
You can view and modify operating point values programmatically at the command line or interactively using Steady State Manager or Model Linearizer.
查找工作点
- 根据设定计算稳态工作点
查找符合设定的稳态工作点。您可以为模型状态、输出和输入指定已知值或边界。
- Import and Export Specifications and Initial Values for Operating Point Search
To configure your operating point search in Steady State Manager or Model Linearizer, you can import specifications and initial values. You can also export specifications and operating points. - Change Operating Point Search Optimization Settings
You can control the accuracy of your operating point search by using different optimization methods. - Initialize Steady-State Operating Point Search Using Simulation Snapshot
If you know the approximate time when the model reaches the neighborhood of a steady-state operating point, you can use simulation to get state values to use as the initial conditions for numerical optimization. - Find Operating Points at Simulation Snapshots
Simulate your model and find an operating point that consists of the state values and model input levels at a specified simulation snapshot time. - Compute Operating Point Snapshots at Triggered Events
You can find an operating point by simulating the model until it is at steady state and taking a simulation snapshot. - Find Steady-State Operating Points for Simscape Models
To find operating points for Simscape™ models, you can trim the models using projection-based trim optimizers, or take simulation snapshots at specified times.
Simulink 模型同步
- Synchronize Simulink Model Changes with Operating Point Specifications
Modifying your Simulink model can change, add, or remove states, inputs, or outputs, which changes the operating point. - Simulate Simulink Model at Specific Operating Point
You can derive your Simulink model initial conditions from your computed operating point.
自定义配平
- Compute Operating Points Using Custom Constraints and Objective Functions
Trim Simulink models using additional user-specified constraints and objective functions.
批量计算
- Batch Compute Steady-State Operating Points Reusing Generated MATLAB Code
Generate code for trimming your Simulink model, and modify the script to batch trim your model. - Batch Compute Steady-State Operating Points for Parameter Variation
Vary model parameters and batch trim your model to find corresponding operating points. - Batch Compute Steady-State Operating Points for Multiple Specifications
Find operating points for multiple operating point specifications using a single model compilation. - Improve Linear Analysis Performance
This example shows how to use thefastRestartForLinearAnalysis
command to speed up multiple calls to compiling functions in Simulink Control Design™ such asfindop
andlinearize
.
代码生成
- Generate MATLAB Code for Operating Point Configuration
You can generate MATLAB® code to programmatically reproduce an operating point search result that you obtained interactively.