📄 dynamic_edfa.mdl
字号:
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [295, 236, 315, 294]
ShowName off
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [690, 26, 710, 84]
ShowName off
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [170, 251, 190, 309]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Y.SunTerm"
Ports [2, 1]
Position [505, 176, 550, 209]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "alfa * L"
Ports [2, 1]
Position [85, 211, 130, 244]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "gamma * L"
Ports [2, 1]
Position [90, 271, 135, 304]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "hc\n"
Position [30, 71, 95, 99]
Value "1.989E-25"
VectorParams1D on
}
Block {
BlockType Product
Name "pSL"
Ports [2, 1]
Position [635, 216, 680, 249]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "ps"
Position [580, 183, 610, 217]
Gain "3.1416E12"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "YSunPowers"
Position [855, 215, 885, 230]
Orientation "down"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "YSunContributions"
Position [685, 308, 715, 322]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ln(G)"
Position [355, 353, 385, 367]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Y.SunTerm"
SrcPort 1
Points [0, 5; 10, 0]
Branch {
DstBlock "ps"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "YSunContributions"
DstPort 1
}
}
Line {
SrcBlock "alfa * L"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Labels [3, 0]
Points [65, 0; 0, -5; 60, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "(alfa + gamma) * L"
SrcPort 1
Points [0, -25]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0; 0, 20; 5, 0]
Branch {
DstBlock "(1-G) / pS"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "ln(G)"
DstPort 1
}
}
}
Line {
SrcBlock "Pin (W)"
SrcPort 1
Points [55, 0; 0, 5; 165, 0]
DstBlock "Pin / PhotonEnergy"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [55, 0]
DstBlock "Pout * PhotonEnergy"
DstPort 1
}
Line {
SrcBlock "alfa "
SrcPort 1
DstBlock "alfa * L"
DstPort 1
}
Line {
SrcBlock "L"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -20]
DstBlock "alfa * L"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "gamma * L"
DstPort 1
}
Branch {
Points [280, 0]
Branch {
DstBlock "Math\nFunction2"
DstPort 1
}
Branch {
Points [0, 40; 275, 0]
DstBlock "pSL"
DstPort 2
}
}
}
Line {
SrcBlock "gamma"
SrcPort 1
Points [0, -10]
DstBlock "gamma * L"
DstPort 2
}
Line {
SrcBlock "gamma * L"
SrcPort 1
Points [0, 5]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [5, 0]
DstBlock "(alfa + gamma) * L"
DstPort 1
}
Line {
SrcBlock "Pin / PhotonEnergy"
SrcPort 1
Points [0, -35; 35, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Y.SunTerm"
DstPort 1
}
}
Line {
SrcBlock "hc\n"
SrcPort 1
Points [15, 0]
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "wavelengths (m)"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "1 / photon Energy"
DstPort 2
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [5, 0; 0, 35]
DstBlock "1 / photon Energy"
DstPort 1
}
Line {
SrcBlock "1 / photon Energy"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -45]
DstBlock "Pin / PhotonEnergy"
DstPort 2
}
Branch {
DstBlock "Math\nFunction1"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [0, 15; 40, 0]
DstBlock "Pout * PhotonEnergy"
DstPort 2
}
Line {
SrcBlock "(1-G) / pS"
SrcPort 1
DstBlock "(1-G) / pSL"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
Points [0, -15]
DstBlock "(1-G) / pSL"
DstPort 2
}
Line {
SrcBlock "(1-G) / pSL"
SrcPort 1
Points [0, -45]
DstBlock "Y.SunTerm"
DstPort 2
}
Line {
SrcBlock "N2"
SrcPort 1
Points [45, 0]
DstBlock "(alfa + gamma) * L"
DstPort 2
}
Line {
SrcBlock "Pout * PhotonEnergy"
SrcPort 1
Points [35, 0]
DstBlock "YSunPowers"
DstPort 1
}
Line {
SrcBlock "ps"
SrcPort 1
Points [5, 0]
DstBlock "pSL"
DstPort 1
}
Line {
SrcBlock "pSL"
SrcPort 1
Points [0, -60; -10, 0]
DstBlock "Sum1"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "YSunPowers"
Position [690, 48, 720, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "N2"
Position [265, 523, 295, 537]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Bononi (W)"
Position [780, 673, 810, 687]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Pout (W)"
Position [925, 233, 955, 247]
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
Name "normalized excited state population N2"
SrcBlock "Discrete-Time\nIntegrator"
SrcPort 1
Points [15, 0; 0, 5]
Branch {
Points [0, 60]
Branch {
Points [0, 85]
DstBlock "Calcula Bononi Term"
DstPort 1
}
Branch {
DstBlock "-1/tau"
DstPort 1
}
}
Branch {
Points [65, 0]
Branch {
Points [-65, 0; 0, -295]
DstBlock "YSunTerms"
DstPort 6
}
Branch {
Points [30, 0]
DstBlock "N2"
DstPort 1
}
}
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [0, 45; -585, 0; 0, -110]
DstBlock "Discrete-Time\nIntegrator"
DstPort 1
}
Line {
SrcBlock "Sum6"
SrcPort 1
Points [0, -175]
DstBlock "Pout (W)"
DstPort 1
}
Line {
SrcBlock "SumASEPowers"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -250]
DstBlock "Sum6"
DstPort 2
}
Branch {
DstBlock "Bononi (W)"
DstPort 1
}
}
Line {
SrcBlock "SumASEPowers1"
SrcPort 1
Points [235, 0]
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Calcula Bononi Term"
SrcPort 4
Points [340, 0]
DstBlock "SumASEPowers"
DstPort 1
}
Line {
SrcBlock "alfaASE (1/m)"
SrcPort 1
Points [105, 0]
DstBlock "Calcula Bononi Term"
DstPort 3
}
Line {
SrcBlock "gammaASE (1/m)"
SrcPort 1
Points [105, 0]
DstBlock "Calcula Bononi Term"
DstPort 4
}
Line {
SrcBlock "DeltaFreq (1/s)"
SrcPort 1
Points [105, 0]
DstBlock "Calcula Bononi Term"
DstPort 5
}
Line {
SrcBlock "WavelASE"
SrcPort 1
Points [110, 0]
DstBlock "Calcula Bononi Term"
DstPort 6
}
Line {
SrcBlock "Pin (W)"
SrcPort 1
Points [85, 0]
DstBlock "YSunTerms"
DstPort 1
}
Line {
SrcBlock "wavelengths (m)"
SrcPort 1
Points [85, 0]
DstBlock "YSunTerms"
DstPort 2
}
Line {
SrcBlock "alfaSig+Pumps "
SrcPort 1
DstBlock "YSunTerms"
DstPort 4
}
Line {
SrcBlock "L"
SrcPort 1
Points [0, -5; 15, 0]
Branch {
Points [0, 155]
DstBlock "Calcula Bononi Term"
DstPort 2
}
Branch {
Points [0, -105]
Branch {
Points [0, -80]
Branch {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -