Skip to content

Commit

Permalink
fixed link14 power calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
rsfzi committed Dec 2, 2024
1 parent d8c31b8 commit 54a9bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.palladiosimulator.simexp.ui.workflow.launchConfigurationType1">
<intAttribute key="NumberOfRuns" value="1"/>
<intAttribute key="NumberOfSimulationsPerRun" value="2"/>
<intAttribute key="NumberOfSimulationsPerRun" value="3"/>
<stringAttribute key="Quality Objective" value="PERFORMANCE"/>
<stringAttribute key="Simulation Engine" value="PRISM"/>
<stringAttribute key="SimulationID" value="DeltaIoT_modelled"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ if (!(SRN_6to4Link_SignalToNoiseRatioInstantiation > 0 && link14_power > 0) || !
changeLinkPower(assemblyConnector=link14_assemblyConnector, referenceName=link14_referenceName, value=link14_power_new);
}
if (SRN_6to4Link_SignalToNoiseRatioInstantiation > 0 && link14_power > 0) {
link1_power_new = link14_power - CHANGE_POWER_VALUE;
link14_power_new = link14_power - CHANGE_POWER_VALUE;
changeLinkPower(assemblyConnector=link14_assemblyConnector, referenceName=link14_referenceName, value=link14_power_new);
}
}
Expand Down

0 comments on commit 54a9bab

Please sign in to comment.