📄 dynamic_edfa.mdl
字号:
Name "wavelengths (m)"
Position [30, 63, 60, 77]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "alfaSig+Pumps "
Position [35, 153, 65, 167]
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "L"
Position [15, 558, 45, 572]
Port "4"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "gammaSig+Pumps"
Position [55, 108, 85, 122]
Port "5"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "alfaASE (1/m)"
Position [25, 728, 55, 742]
Port "6"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "gammaASE (1/m)"
Position [25, 768, 55, 782]
Port "7"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "DeltaFreq (1/s)"
Position [25, 803, 55, 817]
Port "8"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "WavelASE"
Position [20, 838, 50, 852]
Port "9"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "alfaLoss"
Position [20, 353, 50, 367]
Port "10"
LatchInput off
Interpolate on
}
Block {
BlockType Gain
Name "-1/tau"
Position [175, 580, 205, 610]
Gain "-100"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "1/ ln(G)"
Ports [1, 1]
Position [330, 290, 360, 320]
Operator "reciprocal"
OutputSignalType "auto"
}
Block {
BlockType Constant
Name "1/ps"
Position [375, 653, 455, 677]
Value "1/(3.1416E12)"
VectorParams1D on
}
Block {
BlockType Product
Name "ASELost1"
Ports [3, 1]
Position [380, 452, 420, 508]
Inputs "3"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "ASELost2"
Ports [2, 1]
Position [475, 652, 515, 708]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Scope
Name "BononiContr"
Ports [1]
Position [535, 739, 565, 771]
Floating off
Location [341, 405, 665, 644]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData8"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Calcula Bononi Term"
Ports [6, 4]
Position [180, 665, 325, 870]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Bononi Term"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Calcula Bononi Term"
Location [-126, 227, 886, 610]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "N2"
Position [205, 183, 235, 197]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "L"
Position [15, 43, 45, 57]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "alfaASE (1/m)"
Position [20, 108, 50, 122]
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "gammaASE (1/m)"
Position [25, 178, 55, 192]
Port "4"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "DeltaFreq (1/s)"
Position [525, 243, 555, 257]
Port "5"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "WavelASE"
Position [715, 203, 745, 217]
Port "6"
LatchInput off
Interpolate on
}
Block {
BlockType MATLABFcn
Name "(1-G) / pSASE"
Position [510, 100, 570, 130]
MATLABFcn "(1-exp(u))/(3.1416E12)"
OutputDimensions "100"
OutputSignalType "auto"
Output1D off
}
Block {
BlockType Product
Name "(1-G) / pSLASE"
Ports [2, 1]
Position [620, 101, 665, 134]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "(alfa + gamma) ASE* L"
Ports [2, 1]
Position [330, 116, 375, 149]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "1/ln(G)"
Ports [1, 1]
Position [480, 155, 510, 185]
Operator "reciprocal"
OutputSignalType "auto"
}
Block {
BlockType Constant
Name "4"
Position [415, 221, 510, 249]
Value "4"
VectorParams1D on
}
Block {
BlockType Product
Name "4nspDeltaFr"
Ports [4, 1]
Position [590, 203, 635, 237]
Inputs "4"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Bononi*PhotonEnergy"
Ports [2, 1]
Position [890, 121, 935, 154]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "BononiTerm"
Ports [2, 1]
Position [770, 146, 815, 179]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain"
Position [960, 120, 990, 150]
Gain "-1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [540, 30, 570, 60]
Operator "reciprocal"
OutputSignalType "auto"
}
Block {
BlockType Math
Name "Math\nFunction3"
Ports [1, 1]
Position [775, 195, 805, 225]
Operator "reciprocal"
OutputSignalType "auto"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [215, 111, 235, 169]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [435, 91, 455, 149]
ShowName off
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "alfaASE * L"
Ports [2, 1]
Position [125, 91, 170, 124]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "gammaASE * L"
Ports [2, 1]
Position [120, 156, 165, 189]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "gammaASE* L* N2 "
Ports [2, 1]
Position [305, 196, 350, 229]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "hc"
Position [670, 246, 735, 274]
Value "1.989E-25"
VectorParams1D on
}
Block {
BlockType Product
Name "photon EnergyASE"
Ports [2, 1]
Position [875, 196, 920, 229]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "1 / ln(G)"
Position [615, 163, 645, 177]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "4nspDeltaFreq"
Position [675, 328, 705, 342]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ASEPhotons"
Position [845, 33, 875, 47]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ASEPowers"
Position [955, 58, 985, 72]
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "alfaASE (1/m)"
SrcPort 1
DstBlock "alfaASE * L"
DstPort 2
}
Line {
SrcBlock "gammaASE (1/m)"
SrcPort 1
Points [20, 0; 0, -5]
DstBlock "gammaASE * L"
DstPort 2
}
Line {
SrcBlock "alfaASE * L"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [5, 0; 0, 15]
DstBlock "Sum4"
DstPort 1
}
Branch {
Points [0, -5]
DstBlock "Sum5"
DstPort 1
}
}
Line {
SrcBlock "gammaASE * L"
SrcPort 1
Points [15, 0; 0, -5]
Branch {
Points [0, -15]
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "gammaASE* L* N2 "
DstPort 2
}
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "(alfa + gamma) ASE* L"
DstPort 2
}
Line {
SrcBlock "(alfa + gamma) ASE* L"
SrcPort 1
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [20, 0; 0, -5]
DstBlock "(1-G) / pSASE"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "1/ln(G)"
DstPort 1
}
}
Line {
SrcBlock "gammaASE* L* N2 "
SrcPort 1
DstBlock "4nspDeltaFr"
DstPort 2
}
Line {
SrcBlock "1/ln(G)"
SrcPort 1
Points [0, 15]
Branch {
Points [0, 20]
DstBlock "4nspDeltaFr"
DstPort 1
}
Branch {
Points [0, -15]
DstBlock "1 / ln(G)"
DstPort 1
}
}
Line {
SrcBlock "DeltaFreq (1/s)"
SrcPort 1
Points [5, 0; 0, -15]
DstBlock "4nspDeltaFr"
DstPort 4
}
Line {
SrcBlock "4"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -