33
Contents
MaskProbeSignals. . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
MaskDocumentation . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
UnprotectingMaskedSubsystems . . . . . . . . . . . . . . . . . . . 68
CircuitBrowser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
ViewingOptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
PLECSProbe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
CopyingaProbe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Assertions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
AssertionBlocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
ComponentAssertions . . . . . . . . . . . . . . . . . . . . . . . . . . 76
LocatingAssertions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
ControllingAccesstoCircuitsandSubsystems. . . . . . . . . . . . . . . 78
EncryptingCircuitsandSubsystems. . . . . . . . . . . . . . . . . . 78
ExportingCircuitsforthePLECSViewer. . . . . . . . . . . . . . . . . . 79
ExportingSchematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
UsingthePLECSScope . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
GettingStarted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
ZoomOperations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Scrolling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Y-AxisAuto-Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
ChangingCurveProperties . . . . . . . . . . . . . . . . . . . . . . . 84
SpreadingSignals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
FourierAnalysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
SavingaView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
AddingTraces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
SavingandLoadingTraceData . . . . . . . . . . . . . . . . . . . . 86
ScopeParameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
PrintingandExporting. . . . . . . . . . . . . . . . . . . . . . . . . . 87
UsingtheFourierAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . 88
CalculationParameters . . . . . . . . . . . . . . . . . . . . . . . . . 88
vi
C# WPF PDF Viewer SDK to annotate PDF document in C#.NET Click to select drawing annotation with default properties. Other Tab. Item. Name. Description. 17. Text box. Click to add a text box to specific location on PDF
how to make a pdf document text searchable; how to select text in a pdf
33
Contents
DisplayParameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Zoom,ExportandPrint . . . . . . . . . . . . . . . . . . . . . . . . . 90
CalculationoftheFouriercoefficients . . . . . . . . . . . . . . . . . 90
UsingtheXYPlot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
TimeRangeWindow . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Zoom,SaveView,ExportandPrint . . . . . . . . . . . . . . . . . . 92
SimulationParameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
PLECSBlocksetParameters . . . . . . . . . . . . . . . . . . . . . . 93
PLECSStandaloneParameters . . . . . . . . . . . . . . . . . . . . . 97
4 ThermalModeling
103
HeatSinkConcept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
ThermalLossDissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
SemiconductorLosses . . . . . . . . . . . . . . . . . . . . . . . . . . 104
OhmicLosses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
HeatSinksandSubsystems. . . . . . . . . . . . . . . . . . . . . . . . . . 108
ThermalDescriptionParameter . . . . . . . . . . . . . . . . . . . . . . . 109
AssigningThermalDataSheets . . . . . . . . . . . . . . . . . . . . 110
UsingReferenceVariables . . . . . . . . . . . . . . . . . . . . . . . . 110
ThermalLibrary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
LibraryStructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
GlobalandLocalDataSheets . . . . . . . . . . . . . . . . . . . . . . 113
CreatingNewDataSheets . . . . . . . . . . . . . . . . . . . . . . . 114
BrowsingtheThermalLibrary . . . . . . . . . . . . . . . . . . . . . 114
ThermalEditor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
EditingSwitchingLosses . . . . . . . . . . . . . . . . . . . . . . . . 116
EditingConductionLosses. . . . . . . . . . . . . . . . . . . . . . . . 117
EditingtheThermalEquivalentCircuit . . . . . . . . . . . . . . . . 118
AddingCustomVariables . . . . . . . . . . . . . . . . . . . . . . . . 119
AddingCustomLookupTables . . . . . . . . . . . . . . . . . . . . . 120
vii
34
Contents
EditingLookupTables . . . . . . . . . . . . . . . . . . . . . . . . . . 121
SemiconductorLossSpecification. . . . . . . . . . . . . . . . . . . . . . . 123
SingleSemiconductorSwitchLosses . . . . . . . . . . . . . . . . . . 123
DiodeLosses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
LossesofSemiconductorSwitchwithDiode . . . . . . . . . . . . . 124
5 MagneticModeling
127
Equivalentcircuitsformagneticcomponents . . . . . . . . . . . . . . . . 127
Coupledinductors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Reluctance-resistanceanalogy. . . . . . . . . . . . . . . . . . . . . . 128
Permeance-capacitanceanalogy. . . . . . . . . . . . . . . . . . . . . 130
MagneticCircuitDomaininPLECS . . . . . . . . . . . . . . . . . . . . . 131
ModelingNon-LinearMagneticMaterial . . . . . . . . . . . . . . . 132
SaturationCurvesforSoft-MagneticMaterial . . . . . . . . . . . . 133
6 MechanicalModeling
135
FlangesandConnections. . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Force/TorqueFlowsandSignConventions . . . . . . . . . . . . . . . . . 136
PositionsandAngles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
InitialConditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
AngleWrapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
IdealClutches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
InelasticCollisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
7 AnalysisTools
143
Steady-StateAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Algorithm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
FastJacobianCalculationforThermalStates . . . . . . . . . . . . 144
Non-periodicCase. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Limitations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
ACAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
viii
33
Contents
ImpulseResponseAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Algorithm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
CompensationforDiscretePulse . . . . . . . . . . . . . . . . . . . . 147
Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
MultitoneAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Algorithm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Remarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
UsageinPLECSStandalone . . . . . . . . . . . . . . . . . . . . . . . . . 150
Steady-StateAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . 150
ACSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
ImpulseResponseAnalysis . . . . . . . . . . . . . . . . . . . . . . . 153
MultitoneAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
ExtractionofState-SpaceMatrices . . . . . . . . . . . . . . . . . . . 154
ApplicationExample . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
UsageinthePLECSBlockset. . . . . . . . . . . . . . . . . . . . . . . . . 158
Steady-StateAnalysis . . . . . . . . . . . . . . . . . . . . . . . . . . 158
ACSweep/LoopGainAnalysis. . . . . . . . . . . . . . . . . . . . . 160
ImpulseResponseAnalysis . . . . . . . . . . . . . . . . . . . . . . . 163
Multitone/LoopGainAnalysis . . . . . . . . . . . . . . . . . . . . . 165
ExtractionofState-SpaceMatrices . . . . . . . . . . . . . . . . . . . 166
ApplicationExample . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
8 C-Scripts
177
HowC-ScriptsWork . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
C-ScriptFunctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
ModelingDiscontinuities. . . . . . . . . . . . . . . . . . . . . . . . . 180
SampleTime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
UserParameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
RuntimeChecks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
C-ScriptExamples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
ix
34
Contents
ASimpleFunction–TimesTwo . . . . . . . . . . . . . . . . . . . . 186
DiscreteStates–SampledDelay . . . . . . . . . . . . . . . . . . . . 186
ContinuousStates–Integrator . . . . . . . . . . . . . . . . . . . . . 187
EventHandling–WrappingIntegrator . . . . . . . . . . . . . . . . 187
PiecewiseSmoothFunctions–Saturation. . . . . . . . . . . . . . . 188
MultipleSampleTimes–Turn-onDelay . . . . . . . . . . . . . . . 190
C-ScriptMacros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
DeprecatedMacros . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
9 SimulationScripts
197
CommandLineInterfaceinPLECSBlockset. . . . . . . . . . . . . . . . 197
SimulationScriptsinPLECSStandalone . . . . . . . . . . . . . . . . . . 201
OverviewofPLECSScriptingExtensions . . . . . . . . . . . . . . . 202
ExampleScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
XML-RPCInterfaceinPLECSStandalone . . . . . . . . . . . . . . . . . 206
EstablishinganXML-RPCConnectiontoPLECS . . . . . . . . . . 207
OverviewofXML-RPCCommands . . . . . . . . . . . . . . . . . . . 207
ExampleScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
ScriptedSimulationandAnalysisOptions . . . . . . . . . . . . . . . . . 210
10CodeGeneration
215
CodeGenerationforPhysicalSystems. . . . . . . . . . . . . . . . . . . . 215
ReducingtheCodeSize . . . . . . . . . . . . . . . . . . . . . . . . . 216
MaximumNumberofSwitches . . . . . . . . . . . . . . . . . . . . . 216
HandlingNaturallyCommutatedDevices. . . . . . . . . . . . . . . 216
UnsupportedComponents . . . . . . . . . . . . . . . . . . . . . . . . 218
CodeGenerationwithPLECSStandalone . . . . . . . . . . . . . . . . . 220
GeneratingCodeforaModel . . . . . . . . . . . . . . . . . . . . . . 220
GeneratingCodeforaSubsystem
. . . . . . . . . . . . . . . . . . . 221
CodeGenerationOptions . . . . . . . . . . . . . . . . . . . . . . . . 222
CodeGenerationwiththePLECSBlockset . . . . . . . . . . . . . . . . . 224
x
Documents you may be interested
Documents you may be interested