SDT-base         Contents     Functions         Previous Next     PDF Index

sdtsys

Purpose

Virtual testing from system models.

Description

This function organizes the main steps to generate virtual testing measurements from system models, inputs, outputs and acquisition settings.

CfgRange

This command generated the Range structure which describes the 4 main steps to generate virtual tests. Each step corresponds to a configuration of Mesh, Model, Sys and Acq configurations given using the format Mesh:Model:Sys:Acq.

The list of all configurations can be found using command sdtsys CfgList.

The Range structure is then forwarded to fe_range Loop to execute the 4 main steps and finally generate the simulation.

Range=sdtsys('CfgRange','Beam20Cleft:Damp2:DFRF:BodeNoise');
fe_range('Loop',Range,struct('ifFail','error')); 
cf=sdth.urn('Dock.id.cf');ci=sdth.urn('Dock.id.ci');

Step

Contains the code standard implementations of experiments handled by sdtm.range, see section 3.5. In particular

UrnSig signal generation nomenclature

This command implements uniform nomenclature for signal generation.

sdtsys('UrnSig')
% Ramp up, do 3 slow triangles then 3 fast. 
C1=sdtsys('UrnSig','dt48u:Cst(2):Tri(1,/60,1,k50):Tri(3,/60,12,k20):Tri(3,/10,12,k20)');
figure(11);plot(C1.X{1},C1.Y)
% Ramp up, 3 periods doing sequence of amplitude,freq, ramp, other sequence
C1=sdtsys('UrnSig','dt48u:Cst(2):Tri(1,/10,1,k10):Sin({.1,1,2},{1,10},TR12,k1):Tri(1,/10,1,k10):Sin({.1,1,2},{1,10},TR12,k1)');
figure(12);plot(C1.X{1},C1.Y)

%C1=sdtsys('UrnSig','dt100u:Sweep(20,200,20)');

©1991-2024 by SDTools
Previous Up Next