Distribution-based traffic

Demonstrates the use of the Traffic block to generate transactions based on multiple districtions

Distribution

Browsable image of the model.

  • To download OpenWebStart click on the links -
    Windows- Compatibility:Windows 10 or higher (*)
    macOS - Compatibility:macOS 10.15 (Catalina) or higher (*)
    Linux - Compatibility:Ubuntu 18.04 LTS or higher (*)
  • For an executable version,
  • Mouse over the icons to view parameters. Click on hierarchy and plotters to reveal content (if provided).
  • To simulate, click on Launch button, open downloaded file and click Run on the Java Security Page.
Distributionmodel <h2>TextDisplay</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>rowsDisplayed</td><td>10</td><td>10</td></tr><tr><td>columnsDisplayed</td><td>40</td><td>40</td></tr><tr><td>suppressBlankLines</td><td>false</td><td>false</td></tr><tr><td>title</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>ViewText</td><td>true</td><td>true</td></tr><tr><td>saveText</td><td>false</td><td>false</td></tr><tr><td>fileName</td><td>Enter Filename to save text</td><td>&quot;Enter Filename to save text&quot;</td></tr><tr><td>Append_Time</td><td>true</td><td>true</td></tr></table> <h2>VariableList</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Memory_Init_Text</td><td>/* Memory Initialize Template          \\nName          Type          Value     */\\nSingle_Mem     global        0.0       ;\\nFixed_Mem     global        0.0       ;\\nUniform_Mem   global        0.0       ;\\nExp_Mem       global        0.0       ;\\nNor_Mem       global        0.0       ;\\n</td><td>/* Memory Initialize Template          \\nName          Type          Value     */\\nSingle_Mem     global        0.0       ;\\nFixed_Mem     global        0.0       ;\\nUniform_Mem   global        0.0       ;\\nExp_Mem       global        0.0       ;\\nNor_Mem       global        0.0       ;\\n</td></tr></table> <h2>ExpressionList5</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_List</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Nor_Mem\\nNor_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Nor_Mem\\nNor_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td></tr><tr><td>Output_Ports</td><td>output</td><td>&quot;output&quot;</td></tr><tr><td>Output_Values</td><td>Result_A</td><td>&quot;Result_A&quot;</td></tr><tr><td>Output_Conditions</td><td>true</td><td>&quot;true&quot;</td></tr></table> <h2>ExpressionList4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_List</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Exp_Mem\\nExp_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Exp_Mem\\nExp_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td></tr><tr><td>Output_Ports</td><td>output</td><td>&quot;output&quot;</td></tr><tr><td>Output_Values</td><td>Result_A</td><td>&quot;Result_A&quot;</td></tr><tr><td>Output_Conditions</td><td>true</td><td>&quot;true&quot;</td></tr></table> <h2>ExpressionList3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_List</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Uniform_Mem\\nUniform_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Uniform_Mem\\nUniform_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td></tr><tr><td>Output_Ports</td><td>output</td><td>&quot;output&quot;</td></tr><tr><td>Output_Values</td><td>Result_A</td><td>&quot;Result_A&quot;</td></tr><tr><td>Output_Conditions</td><td>true</td><td>&quot;true&quot;</td></tr></table> <h2>ExpressionList2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_List</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Fixed_Mem\\nFixed_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Fixed_Mem\\nFixed_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td></tr><tr><td>Output_Ports</td><td>output</td><td>&quot;output&quot;</td></tr><tr><td>Output_Values</td><td>Result_A</td><td>&quot;Result_A&quot;</td></tr><tr><td>Output_Conditions</td><td>true</td><td>&quot;true&quot;</td></tr></table> <h2>ExpressionList</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Expression_List</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Single_Mem\\nSingle_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td><td>/* Template to enter multiple RegEx lines*/\\nResult_A = TNow - Single_Mem\\nSingle_Mem = TNow\\n/* Add as many RegEx lines are required */\\n</td></tr><tr><td>Output_Ports</td><td>output</td><td>&quot;output&quot;</td></tr><tr><td>Output_Values</td><td>Result_A</td><td>&quot;Result_A&quot;</td></tr><tr><td>Output_Conditions</td><td>true</td><td>&quot;true&quot;</td></tr></table> <h2>HistogramPlotter5</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>fillOnWrapup</td><td>true</td><td>true</td></tr><tr><td>legend</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>startingDataset</td><td>0</td><td>0</td></tr><tr><td>fileName</td><td>Enter Filename to save plot</td><td>&quot;Enter Filename to save plot&quot;</td></tr><tr><td>viewPlot</td><td>true</td><td>true</td></tr><tr><td>savePlot</td><td>false</td><td>false</td></tr><tr><td>binWidth</td><td>0.1</td><td>0.1</td></tr><tr><td>binOffset</td><td>0.05</td><td>0.05</td></tr></table> <h2>HistogramPlotter4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>fillOnWrapup</td><td>true</td><td>true</td></tr><tr><td>legend</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>startingDataset</td><td>0</td><td>0</td></tr><tr><td>fileName</td><td>Enter Filename to save plot</td><td>&quot;Enter Filename to save plot&quot;</td></tr><tr><td>viewPlot</td><td>true</td><td>true</td></tr><tr><td>savePlot</td><td>false</td><td>false</td></tr><tr><td>binWidth</td><td>0.1</td><td>0.1</td></tr><tr><td>binOffset</td><td>0.05</td><td>0.05</td></tr></table> <h2>HistogramPlotter3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>fillOnWrapup</td><td>true</td><td>true</td></tr><tr><td>legend</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>startingDataset</td><td>0</td><td>0</td></tr><tr><td>fileName</td><td>Enter Filename to save plot</td><td>&quot;Enter Filename to save plot&quot;</td></tr><tr><td>viewPlot</td><td>true</td><td>true</td></tr><tr><td>savePlot</td><td>false</td><td>false</td></tr><tr><td>binWidth</td><td>0.1</td><td>0.1</td></tr><tr><td>binOffset</td><td>0.05</td><td>0.05</td></tr></table> <h2>HistogramPlotter2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>fillOnWrapup</td><td>true</td><td>true</td></tr><tr><td>legend</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>startingDataset</td><td>0</td><td>0</td></tr><tr><td>fileName</td><td>Enter Filename to save plot</td><td>&quot;Enter Filename to save plot&quot;</td></tr><tr><td>viewPlot</td><td>true</td><td>true</td></tr><tr><td>savePlot</td><td>false</td><td>false</td></tr><tr><td>binWidth</td><td>0.1</td><td>0.1</td></tr><tr><td>binOffset</td><td>0.05</td><td>0.05</td></tr></table> <h2>Traffic3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;Header&quot; /* Select existing DS template or create new. Look at Lab 1 for new one */</td><td>&quot;Header&quot;</td></tr><tr><td>Start_Time</td><td>0.0 /* Delay the first Data Structure */</td><td>0.0</td></tr><tr><td>Value_1</td><td>1.0 /* Mean for Period or Fixed; Exponential and Normal, Minimum for Uniform */</td><td>1.0</td></tr><tr><td>Value_2</td><td>2.0 /* Not used for Exponential and Fixed. Maximum for Uniform and Stad Dev for Normal */</td><td>2.0</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Uniform (Value_1, Value_2)</td><td>Uniform (Value_1, Value_2)</td></tr></table> <h2>Traffic4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;Header&quot; /* Select existing DS template or create new. Look at Lab 1 for new one */</td><td>&quot;Header&quot;</td></tr><tr><td>Start_Time</td><td>0.0 /* Delay the first Data Structure */</td><td>0.0</td></tr><tr><td>Value_1</td><td>1.0 /* Mean for Period or Fixed; Exponential and Normal, Minimum for Uniform */</td><td>1.0</td></tr><tr><td>Value_2</td><td>2.0 /* Not used for Exponential and Fixed. Maximum for Uniform and Stad Dev for Normal */</td><td>2.0</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Exponential (Value_1)</td><td>Exponential (Value_1)</td></tr></table> <h2>Traffic5</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;Header&quot; /* Select existing DS template or create new. Look at Lab 1 for new one */</td><td>&quot;Header&quot;</td></tr><tr><td>Start_Time</td><td>0.0 /* Delay the first Data Structure */</td><td>0.0</td></tr><tr><td>Value_1</td><td>1.0 /* Mean for Period or Fixed; Exponential and Normal, Minimum for Uniform */</td><td>1.0</td></tr><tr><td>Value_2</td><td>0.22 /* Not used for Exponential and Fixed. Maximum for Uniform and Stad Dev for Normal */</td><td>0.22</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Normal (Value_1, Value_2)</td><td>Normal (Value_1, Value_2)</td></tr></table> <h2>Traffic2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;Header&quot; /* Select existing DS template or create new. Look at Lab 1 for new one */</td><td>&quot;Header&quot;</td></tr><tr><td>Start_Time</td><td>0.0 /* Delay the first Data Structure */</td><td>0.0</td></tr><tr><td>Value_1</td><td>1.0 /* Mean for Period or Fixed; Exponential and Normal, Minimum for Uniform */</td><td>1.0</td></tr><tr><td>Value_2</td><td>2.0 /* Not used for Exponential and Fixed. Maximum for Uniform and Stad Dev for Normal */</td><td>2.0</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Fixed (Value_1)</td><td>Fixed (Value_1)</td></tr></table> <h2>Traffic</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;Header&quot; /* Select existing DS template or create new. Look at Lab 1 for new one */</td><td>&quot;Header&quot;</td></tr><tr><td>Start_Time</td><td>StartTime /* Delay the first Data Structure */</td><td>1.0</td></tr><tr><td>Value_1</td><td>1.0 /* Mean for Period or Fixed; Exponential and Normal, Minimum for Uniform */</td><td>1.0</td></tr><tr><td>Value_2</td><td>2.0 /* Not used for Exponential and Fixed. Maximum for Uniform and Stad Dev for Normal */</td><td>2.0</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Single Event</td><td>Single Event</td></tr></table>