Skip to content
Dynamic model as presented in: Trevor J. Bird, and Neera Jain, "Dynamic modeling and validation of a micro-combined heat and power system with integrated thermal energy storage," Applied Energy 2020. All works published using this code should cite the associated publication. Please see the README file below and comment sections within the files.
Branch: master
Clone or download
tbird0335
tbird0335 V01 of CHP simulation model
Initial upload of micro-CHP simulation files.
Latest commit c3ae887 Jun 2, 2020

README.md

Dynamic-PEMFC-micro-CHP-Model-with-Sensible-TES

Title: Dynamic modeling and validation of a micro-combined heat and power system with integrated thermal energy storage: MATLAB .m files

Version: 1.0

Date of Release: 2020/06/01

Associated Publication: Trevor J. Bird, and Neera Jain, "Dynamic modeling and validation of a micro-combined heat and power system with integrated thermal energy storage," Applied Energy 2020.

Link to Publication: https://www.sciencedirect.com/science/article/pii/S0306261920304670?casa_token=mBF_6QzpkZoAAAAA:sjJYYXcQkuc_I23bnjW1ho5W95INlou5pWM836E1p3cweCa-UZaaOIfs2Ga8DqN19bbOuSnyAQ

Suggested Citation: Please reference the associated publication above when using any of the code contained in this repository.

Contact Information: Neera Jain, Purdue University, West Lafayette, Indiana, U.S.A, neerajain@purdue.edu

Documentation for each of the .m files given in comment sections at the beginning of the file.

Functions

main: this file serves as an example of how to build the component models then use them to simulate the micro-CHP system. All system parameters may be easily changed here while input signals are changed in the simFile.

simFile: this file applies the model inputs as a zero order hold and propogates the system dynamics using the CHP system model. Results are saved to a .mat file.

CHPSim: micro-CHP system model. Function calls FC and TES component models with algebraic coupling to deteremine time derivative of CHP system.

FCObject: this object contains all constants and functions for the evalutation of the PEMFC component model.

TESObject: this object contains all constants and functions for the evalutation of the TES component model.

plotter: this function plots the results of the CHP simulation.

getSciCon: this function outputs a struct containing all necessary scientific constants used in simulation.

TESFigColors: colors generated using cbrewer for plotting TES results.

You can’t perform that action at this time.