psychro_wrapper.f90 Source File


This file depends on

sourcefile~~psychro_wrapper.f90~~EfferentGraph sourcefile~psychro_wrapper.f90 psychro_wrapper.f90 sourcefile~eplus_psychro.f90 eplus_psychro.f90 sourcefile~psychro_wrapper.f90->sourcefile~eplus_psychro.f90 sourcefile~psychrolib.f90 psychrolib.f90 sourcefile~psychro_wrapper.f90->sourcefile~psychrolib.f90 sourcefile~eplus_psychro.f90->sourcefile~psychrolib.f90

Files dependent on this one

sourcefile~~psychro_wrapper.f90~~AfferentGraph sourcefile~psychro_wrapper.f90 psychro_wrapper.f90 sourcefile~minimal_dx_cooling.f90 minimal_dx_cooling.f90 sourcefile~minimal_dx_cooling.f90->sourcefile~psychro_wrapper.f90 sourcefile~minimal_dx_heating.f90 minimal_dx_heating.f90 sourcefile~minimal_dx_heating.f90->sourcefile~psychro_wrapper.f90 sourcefile~minimal_dx_cooling_driver.f90 minimal_dx_cooling_driver.f90 sourcefile~minimal_dx_cooling_driver.f90->sourcefile~minimal_dx_cooling.f90 sourcefile~minimal_dx_heating_driver.f90 minimal_dx_heating_driver.f90 sourcefile~minimal_dx_heating_driver.f90->sourcefile~minimal_dx_heating.f90

Contents

Source Code


Source Code

! MinimalDX version 0.1.0 (https://www.github.com/dmey/minimal-dx).
! Copyright 2018 D. Meyer and R. Raustad. Licensed under MIT.

module PsychroWrapper
  !+ Wraps PsychroLib functions.

use psychrolib, only: SetUnitSystem, SI, GetMoistAirDensity, GetTWetBulbFromHumRatio, &
                      GetMoistAirEnthalpy, GetHumRatioFromEnthalpyAndTDryBulb,        &
                      GetTDryBulbFromEnthalpyAndHumRatio, GetRelHumFromHumRatio,      &
                      GetHumRatioFromTDewPoint
use EPlusPsychro, only: PsyTsatFnHPb

implicit none

private

public :: GetMoistAirDensity
public :: GetTWetBulbFromHumRatio
public :: GetMoistAirEnthalpy
public :: GetHumRatioFromEnthalpyAndTDryBulb
public :: GetTDryBulbFromEnthalpyAndHumRatio
public :: GetRelHumFromHumRatio
public :: GetHumRatioFromTDewPoint
public :: PsyTsatFnHPb
public :: InitPsychrometrics

contains
    subroutine InitPsychrometrics()
      call SetUnitSystem(SI)
    end subroutine InitPsychrometrics
end module PsychroWrapper