Skip to content

osain-az/Vessel-Machinery

Repository files navigation

Vessel-mechinery

Note: This flowchat does not represent the code flow anymore since the code has been updated, new flowchat will be updated accordingly after major update.

Preliminary background for the vessel.machinery implimentation

Preliminary flow chat

This is page will explain the steps that were built into the website and also the process which is represented in a flow chat as shown below.
The flowchat only represent the Preliminary setup of the final code which will be implimentated, which means that flowchat will be updated accoordingly.
As shown on the image, each step in the process is numbered starting from 1 to 18 and they will be used to refere to each step when explaining the process.
The process mostly consist of automatic process except the steps which are labelled "web front page" as shown in the process,
it also consist of two methomds which are colored yellow.

The flow chat image

process explanation

  • Step 1: this is the starting of the process, it is then divided into step 2 and 7 respectively, but the recommended next step is step 2
  • Step 2: This step involve manually inputting 3 parmaters on the webpage which include the ship resistance kN, ship speed Knots and voyage in days.
    you eith type the value or used the range button. This step is a required step since this parameters are used in the other steps.
  • Step 3: This is executed automatically, the step is a signal called “Event listener “ that listen or monitor to the input field and each an input is made it execute/call,
    the a method and also pass the value of the input to the method.
  • Step 4: In this step, when step 3 is executed step 4 check if all necessary is input are completed, if they not completed the process to back to step 2,
    but they are completed then all input values are then send to step 5.
  • Step 5:This step is executing a method to calculate the required propulsion power of the ship , it will only be executed if step 4 is true,
    the method accept three parameters from the input filed ( ship resistance , ship speed and voyage ), using the resistance and the speed the power is calculated as follows
    effective power/efficiencies ( (resistnace × speed)/(η_mec × η_pro )) where the η_mec mechanical efficiency is 0.95 and propulsion efficiency is 0.66.
  • Step 6:After step 5 is complete, it check if the type of fuel has already been choose, if it is True then it send the result from step 5
    along with voyage to step 14 but if is False then it move to steps 7, at the first time of the process it will always be false.
  • Step 7:This step involve choosing the type of fuel you ship will be using, it has a dropdown of fuels which include LNG, MGO, HFO and Hydrogen .
  • Step 8:This step is sending of signal (“Event listener”) each time a fuel type is choose , the signal contain the fuel type that was chose.
  • Step 9:This step check if the “power “ has already been calculated in step 5, if there is no power then you are back to step 2 but there is power then move to step 10.
  • Step 10:In this step the type of fuel is checked if it is LNG that was choosen or not , the reason for this is that only LNG data is currently available and this step will be remove
    when other fuel data are available. If the fuel type is not LNG then move to step 11 but if it is LNG then move to step 12.
  • Step 11:This step send of warning “alert” to the window on screen stating that “Only LNG data is available for analysis “ then back to step 7 to choose LNG fuel.
  • Step 12: This step is sending the fuel type to the database where all the fuel types and their there properties are stored then move to step 13.
  • Step 13:In this step, the properties of the fuel type that are choosen are retrieve from the database and send it to method in step 14.
  • Step 14:This step is a method which accept power and voyage value from the method in step 6
    and also accept the fuel properties that was retrieved from the database. With these values it calculate volume of the tank and mass of fuel.
    The result are based on the voyage that was input . The mass is calculated as follows SFC × power × voyage while volume of tank is calculated as (SFC ×power ×voyage)/fueldensity. Then move to step 15.
  • Step 15:The step is the final steps, it involve displaying the results on the webpage, the results displayed include required power based on the input (resistance and speed) , the tank volume and mass based on the power and the fuel type.
  • Step 16:In this step you decide if you want to change any variable, if no then the process end in step 18 but if it yes then move to step 17.
  • Step 17:In this step you decide what variable you will like to change, if it is input (resistance , speed or voyage) then go step 2 but if it’s the fuel type then go to step 7.
    Since all the other inputs and fuel type has already been chose any input that is change it will automatically update the result in step 15.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published