🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::BlockSRPSensitivity类 参考

#include <BlockSRPSensitivity.hpp>

+ 类 ast::BlockSRPSensitivity 继承关系图:

Public 成员函数

 BlockSRPSensitivity (const BlockSRPSensitivity &)=delete
 
BlockSRPSensitivityoperator= (const BlockSRPSensitivity &)=delete
 
errc_t run (const SimTime &simTime) override
 
- Public 成员函数 继承自 ast::BlockDerivative
 ~BlockDerivative () override=default
 
const std::vector< DataPort > & getDerivativePorts () const
 
std::vector< DataPort > & getDerivativePorts ()
 
- Public 成员函数 继承自 ast::FuncBlock
const std::vector< DataPort > & getInputPorts () const
 
std::vector< DataPort > & getInputPorts ()
 
const std::vector< DataPort > & getOutputPorts () const
 
std::vector< DataPort > & getOutputPorts ()
 
size_t getNumInputPorts () const
 
size_t getNumOutputPorts () const
 
DataPortgetInputPort (StringView portName)
 
DataPortgetOutputPort (StringView portName)
 
DataPortgetInputPort (size_t portIndex)
 
DataPortgetOutputPort (size_t portIndex)
 
DataPort::EValueType getInputPortDataType (size_t portIndex)
 
DataPort::EValueType getOutputPortDataType (size_t portIndex)
 
void * getInputPortSignal (size_t portIndex)
 
void * getOutputPortSignal (size_t portIndex)
 
double * getInputPortRealSignal (size_t portIndex)
 
double * getOutputPortRealSignal (size_t portIndex)
 
int getInputPortWidth (size_t portIndex)
 
int getOutputPortWidth (size_t portIndex)
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 ast::FuncBlock
static errc_t connect (FuncBlock *src, StringView srcPortName, FuncBlock *dst, StringView dstPortName)
 
static errc_t connect (FuncBlock *src, size_t srcPortIndex, FuncBlock *dst, size_t dstPortIndex)
 
- Protected 属性 继承自 ast::BlockDerivative
std::vector< DataPortderivativePorts_ {}
 
- Protected 属性 继承自 ast::FuncBlock
std::vector< DataPortinputPorts_ {}
 
std::vector< DataPortoutputPorts_ {}
 

详细描述

SRP综合参数K敏感度传播函数块

计算 Ψ_K = ∂[r,v]/∂K 的时间导数: dΨ_K/dt = A(t) · Ψ_K + [0, 0, 0, ∂a_srp/∂K]ᵀ

其中: Ψ_K = 状态对SRP综合参数 K = Cr·A/m 的偏导数(6×1) A(t) = 动力学雅可比矩阵 ∂f/∂x(6×6) ∂a_srp/∂K = a_srp / K(3维加速度向量,由 BlockSRPPartial 提供)

输入端口:

  • "AMatrix":动力学雅可比矩阵 A(t)(36维,6×6 行优先存储)
  • "StateSensitivityToSRP":敏感度向量 Ψ_K(6维)
  • "AccSensitivityToSRP":SRP加速度对K的偏导数(3维,由 BlockSRPPartial 提供)

导数端口:

  • "StateSensitivityToSRP":dΨ_K/dt(6维)
注解
本块读取 AMatrix 输入端口,拓扑排序保证在所有力模型块之后执行
参见
BlockSRPPartial, BlockStateTransitionMatrix

成员函数说明

◆ run()

errc_t ast::BlockSRPSensitivity::run ( const SimTime & simTime)
overridevirtual

计算函数块

参数
simTime仿真时间
返回
错误码

实现了 ast::FuncBlock.


该类的文档由以下文件生成: