Giter Site home page Giter Site logo

hydrogencompression's Introduction

HydrogenCompression

(See MatlabComputerProgramSummary.docx to visualize the dependencies of the different functions)

main.m file¸

       1- This main file solves the equations for the hydrogen gaz and 
           rock temperatures during injection/storage/discharge. Two
           methods of Injection/Discharge are possible

           A) Imposing a function for dm/dt during storage/discharge 
                       dm: variation of mass
                       dt: variation of time 

           B) Imposing a function for dP/dt during storage/discharge
                       dP: variation of pressure
                       dt: variation of time 
       
       2- The reservoir can be outside (surronded by air) or in the ground.
           (vertical or horizontal). reservoir dimension and thermophysical
           properties nedd to be specify in
           fcnSelectPhysicalPropertiesOfCavity.m (edit this file !)

       3- Heat transfer coefficient can be imposed or estimated from
           Nusselt parameter.  

       2- The numerical parameters for the simulations need to be
           set from line 62

       3- The injection/storage/scenario need to be specified 
           The file InjectStoraExtractScenarioFunction.m can be
           edited in order to wrtie the functions dm/dt or dP/dt. Some
           default functions are coded for the moment (see line 119 of
           this main file)

       4- The tasks for the main file can be ajusted from line 164
           (it's possible for instance to work on the figures without 
            having to solve the equations if the solutions have already 
            been calculated)   

       5- The solvers are called from line 202

       6- The code for the figures starts at line 279

====================================================================== Copyright (c) December 2023, Bernard Doyon ([email protected])

hydrogencompression's People

Contributors

bernarddoyon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.