Exemplo n.º 1
0
      'requirement': {},
      'eq_select': {},
      've_select': {},
      'combi_select': {},
      'schedule': {},
      'cost': {},
      'optimal': {},
      'risk': {},
      'envir': {}
      }

# characterize the logistic requirements
om['requirement'] = glob_feas(log_phase, log_phase_id, user_inputs,
                              hydrodynamic_outputs, electrical_outputs,
                              MF_outputs, OM_outputs)

# selection of the maritime infrastructure
om['eq_select'], log_phase = select_e(om, log_phase)
om['ve_select'], log_phase = select_v(om, log_phase)

# matching requirements for combinations of port/vessel(s)/equipment
om['combi_select'], log_phase = compatibility_ve(om, log_phase, om_port['Selected base port for installation'])

# schedule assessment of the different operation sequence
#om['schedule'], log_phase = sched(x, install, log_phase, log_phase_id, user_inputs,
#                                  hydrodynamic_outputs, electrical_outputs, MF_outputs)

# cost assessment of the different operation sequence
om['cost'], log_phase = cost(om, log_phase)

om['optimal'] = opt_sol(log_phase)
Exemplo n.º 2
0
    # loop over the number of layers of the installation plan
    for x in range(len(install["plan"])):
        for y in range(len(install["plan"][x])):
            # extract the LogPhase ID to be evaluated from the installation plan
            log_phase_id = install["plan"][x][y]
            log_phase = logPhase_install[log_phase_id]
            # print log_phase

            # characterize the logistic requirements
            install["requirement"] = glob_feas(
                log_phase, log_phase_id, user_inputs, hydrodynamic_outputs, electrical_outputs, MF_outputs
            )

            # selection of the maritime infrastructure
            install["eq_select"], log_phase = select_e(install, log_phase)
            install["ve_select"], log_phase = select_v(install, log_phase)

            # matching requirements for combinations of port/vessel(s)/equipment
            install["combi_select"], log_phase = compatibility_ve(
                install, log_phase, install_port["Selected base port for installation"]
            )
            #           print install['combi_select']

            #          schedule assessment of the different operation sequence
            install["schedule"], log_phase = sched(
                x, install, log_phase, log_phase_id, user_inputs, hydrodynamic_outputs, electrical_outputs, MF_outputs
            )

            #           # cost assessment of the different operation sequenc
            install["cost"], log_phase = cost(install, log_phase)