GithubHelp home page GithubHelp logo

d4ve-r / thermaljs Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 284 KB

Thermal is a simple physics library, performing heat transmittance & condensate calculations.

Home Page: https://d4ve-r.github.io/thermaljs/

License: MIT License

JavaScript 6.25% TypeScript 93.75%
bim building-energy building-physics condensation construction heat-transfer-coefficient heating buildingsmart civil-engineering glaser-method

thermaljs's Introduction

GitHub license TypeScript

ThermalJS

Thermal is a simple physics library, performing heat transmittance & condensate calculations.
The goal of this project is to provide a library of physics calculations, which can be used in js-based applications for BIM and others.

โš ๏ธThis project is wip

Table of Contents

Description

Thermal is a physics library, performing heat transmittance & condensate calculations in building components.
It is written in TypeScript and built with Webpack.
Thermal can be used in both Node.js and the browser.

Features:

  • Heat transfer resistance calculation
  • Glaser procedure to determine condensate

The calculations are based on the following standards:

This software is NOT certified in any way.

Getting Started

Installing

npm install @d4ve-r/thermaljs

Usage

import the functions you need from the library

import { glaser, heatTransferR } from '@d4ve-r/thermaljs';

create a MaterialLayer array of your component

const layer = [
	{depth: 0.01, material: {density: 0, vdr: 15, lambda: 1.0, sd: 0.15}},
	{depth: 0.24,  material: {density:  0, vdr: 5, lambda: 0.7, sd: 1.2}},
	{depth: 0.1,  material: {density: 0, vdr: 5, lambda: 0.04, sd: 0.5}},
	{depth: 0.005, material: {density: 0, vdr: 200, lambda: 0.7, sd: 1}},
];

calculate the heat transfer resistance

const direction = 'side';
const r = heatTransferR(layers, direction);

calculate the condensate

const tempInt = 20;
const tempExt = -10;
const condensate = glaser(layers, tempInt, tempExt, direction);

License

This project is licensed under the MIT License - see the LICENSE file for details.

thermaljs's People

Contributors

d4ve-r avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 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.