📄 dynamic_edfa.mdl
字号:
Points [0, -175]
DstBlock "YSunTerms"
DstPort 5
}
Branch {
Points [0, 5]
DstBlock "PumpSigLost"
DstPort 4
}
}
Branch {
Points [0, 25]
DstBlock "ASELost1"
DstPort 2
}
}
}
Line {
SrcBlock "gammaSig+Pumps"
SrcPort 1
Points [0, 5]
DstBlock "YSunTerms"
DstPort 3
}
Line {
SrcBlock "YSunTerms"
SrcPort 1
Points [210, 0; 0, 20]
Branch {
Points [0, 55]
DstBlock "SumASEPowers1"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "YSunPowers"
DstPort 1
}
}
Line {
SrcBlock "SumChannels"
SrcPort 1
Points [0, 20; 5, 0]
Branch {
Labels [1, 0]
Points [0, 360]
DstBlock "Sum3"
DstPort 1
}
Branch {
DstBlock "YSunContr"
DstPort 1
}
}
Line {
SrcBlock "YSunTerms"
SrcPort 2
Points [0, 55; 80, 0]
Branch {
DstBlock "SumChannels"
DstPort 1
}
Branch {
Points [0, 140]
DstBlock "PumpSigLost"
DstPort 1
}
}
Line {
SrcBlock "YSunTerms"
SrcPort 3
Points [5, 0]
DstBlock "1/ ln(G)"
DstPort 1
}
Line {
SrcBlock "1/ ln(G)"
SrcPort 1
Points [5, 0; 0, 45]
DstBlock "PumpSigLost"
DstPort 2
}
Line {
SrcBlock "-1/tau"
SrcPort 1
DstBlock "Sum3"
DstPort 3
}
Line {
SrcBlock "alfaLoss"
SrcPort 1
Points [0, 5]
DstBlock "PumpSigLost"
DstPort 3
}
Line {
SrcBlock "PumpSigLost"
SrcPort 1
DstBlock "PumpSigLostSum"
DstPort 1
}
Line {
SrcBlock "PumpSigLostSum"
SrcPort 1
Points [15, 0; 0, 55]
Branch {
Points [0, 170]
DstBlock "Sum3"
DstPort 2
}
Branch {
Points [0, 15]
DstBlock "ChanLostContr"
DstPort 1
}
}
Line {
SrcBlock "1/ps"
SrcPort 1
DstBlock "ASELost2"
DstPort 1
}
Line {
SrcBlock "ASELost1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "ASELost2"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [20, 0; 0, -35; -90, 0; 0, -100; -25, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "SumASEPhotons"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "BononiContr"
DstPort 1
}
Branch {
Points [0, -140]
DstBlock "Sum3"
DstPort 5
}
}
Line {
SrcBlock "Calcula Bononi Term"
SrcPort 1
Points [10, 0; 0, -235]
DstBlock "ASELost1"
DstPort 1
}
Line {
SrcBlock "Calcula Bononi Term"
SrcPort 2
Points [50, 0; 0, -50]
DstBlock "ASELost2"
DstPort 2
}
Line {
SrcBlock "Calcula Bononi Term"
SrcPort 3
Points [25, 0; 0, -40; 10, 0]
Branch {
DstBlock "SumASEPhotons"
DstPort 1
}
Branch {
DstBlock "ASELost1"
DstPort 3
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [70, 0; 0, 110]
DstBlock "Sum3"
DstPort 4
}
}
}
Block {
BlockType Constant
Name "SurverChannel"
Position [15, 66, 110, 94]
Value "0.0006"
VectorParams1D on
}
Block {
BlockType Scope
Name "SurverChannelOut"
Ports [1]
Position [655, 99, 685, 131]
Floating off
Location [229, 160, 553, 399]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "0.05"
YMin "0"
YMax "0.08"
SaveToWorkspace off
SaveName "ScopeData9"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "SurverChanneldBm"
Ports [1]
Position [825, 139, 855, 171]
Floating off
Location [229, 160, 553, 399]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "0.05"
YMin "0"
YMax "0.08"
SaveToWorkspace off
SaveName "ScopeData12"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "ThreeChannels"
Ports [1]
Position [530, 184, 560, 216]
Floating off
Location [398, 465, 722, 704]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "0.05"
YMin "0"
YMax "0.1"
SaveToWorkspace off
SaveName "ScopeData10"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [805, 215, 865, 245]
VariableName "pow"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType MATLABFcn
Name "To dBm"
Position [720, 135, 780, 165]
MATLABFcn "10*log10(1000*u)"
OutputDimensions "1"
OutputSignalType "auto"
Output1D on
}
Block {
BlockType Scope
Name "Total"
Ports [1]
Position [580, 489, 610, 521]
Floating off
Location [103, 459, 427, 698]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Constant
Name "WavelASE (nm)"
Position [15, 565, 195, 595]
Value "(1E-9)*[1450, 1451.6, 1453.2, 1454.8, 1456.4, 1"
"458, 1459.6, 1461.2, 1462.8, 1464.4, 1466, 1467.6, 1469.2, 1470.8, 1472.4, 14"
"74, 1475.6, 1477.2, 1478.8, 1480.4, 1482, 1483.6, 1485.2, 1486.8, 1488.4, 149"
"0, 1491.6, 1493.2, 1494.8, 1496.4, 1498, 1499.6, 1501.2, 1502.8, 1504.4, 1506"
", 1507.6, 1509.2, 1510.8, 1512.4, 1514, 1515.6, 1517.2, 1518.8, 1520.4, 1522,"
" 1523.6, 1525.2, 1526.8, 1528.4, 1530, 1531.6, 1533.2, 1534.8, 1536.4, 1538, "
"1539.6, 1541.2, 1542.8, 1544.4, 1546, 1547.6, 1549.2, 1550.8, 1552.4, 1554, 1"
"555.6, 1557.2, 1558.8, 1560.4, 1562, 1563.6, 1565.2, 1566.8, 1568.4, 1570, 15"
"71.6, 1573.2, 1574.8, 1576.4, 1578, 1579.6, 1581.2, 1582.8, 1584.4, 1586, 158"
"7.6, 1589.2, 1590.8, 1592.4, 1594, 1595.6, 1597.2, 1598.8, 1600.4, 1602, 1603"
".6, 1605.2, 1606.8, 1608.4]"
VectorParams1D on
}
Block {
BlockType Constant
Name "wavelengths (m)"
Position [15, 173, 155, 207]
Value "1E-9*[1480, 1539.6, 1549.2]"
VectorParams1D on
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [0, -25; 20, 0; 0, 10]
Branch {
Points [0, 200]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 5; 35, 0]
Branch {
DstBlock "Demux"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "ThreeChannels"
DstPort 1
}
}
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [115, 0]
DstBlock "N2"
DstPort 1
}
Line {
SrcBlock "Alfa (1/m)"
SrcPort 1
Points [0, -50]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "L (m)"
SrcPort 1
Points [90, 0; 0, -45]
DstBlock "Subsystem"
DstPort 4
}
Line {
SrcBlock "Gamma (1/m)"
SrcPort 1
Points [0, -40]
DstBlock "Subsystem"
DstPort 5
}
Line {
SrcBlock "wavelengths (m)"
SrcPort 1
Points [0, -45]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Gamma ASE(1/m)"
SrcPort 1
Points [0, -30; 40, 0]
DstBlock "Subsystem"
DstPort 7
}
Line {
SrcBlock "DeltaFreq (1/s)"
SrcPort 1
Points [15, 0; 0, -85]
DstBlock "Subsystem"
DstPort 8
}
Line {
SrcBlock "Alfa ASE(1/m)"
SrcPort 1
Points [25, 0; 0, -50]
DstBlock "Subsystem"
DstPort 6
}
Line {
SrcBlock "WavelASE (nm)"
SrcPort 1
Points [20, 0; 0, -85]
DstBlock "Subsystem"
DstPort 9
}
Line {
SrcBlock "Subsystem"
SrcPort 3
Points [0, -25; 45, 0]
Branch {
Points [0, 30]
DstBlock "Bononi"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Subsystem"
SrcPort 4
Points [55, 0; 0, -10]
DstBlock "Total"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "All Terms"
DstPort 1
}
Line {
SrcBlock "AlfaLoss"
SrcPort 1
Points [0, -85]
DstBlock "Subsystem"
DstPort 10
}
Line {
SrcBlock "PumpPowers (W)"
SrcPort 1
Points [55, 0]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "SurverChannel"
SrcPort 1
Points
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -