林波 linb
  • Joined on 2026-05-21

@ringoarch/ant-climate (0.1.8)

Published 2026-06-10 16:30:44 +08:00 by linb

Installation

@ringoarch:registry=https://git.deta.city/api/packages/linb/npm/
npm install @ringoarch/ant-climate@0.1.8
"@ringoarch/ant-climate": "0.1.8"

About this package

High-performance building climate and weather analysis engine

AntClimate - 建筑气象分析与处理引擎

AntClimate 是一个纯 TypeScript 编写的高性能建筑气象分析库。它旨在提供从原始气象数据(如 EPW)到高级建筑物理分析(如自适应舒适度、风环境统计、太阳路径计算)的全流程支持。

本项目是 AntModel 建筑仿真生态的核心组件之一。

🚀 核心功能

  • EPW 高速解析:支持标准 EnergyPlus Weather (EPW) 文件的加载与结构化。
  • 热舒适度模型:内置 ASHRAE 55 自适应舒适度模型。
  • 空气动力学 (Psychrometrics):提供完整的湿空气性质计算(露点、湿球温度、焓值等)。
  • 天文计算:高精度的太阳位置(高度角、方位角)及太阳路径计算。
  • 生物气候分析:支持 Givoni 生物气候图分析及被动式设计策略潜力评估。
  • 风环境统计:自动生成频率统计及风玫瑰图数据。

📦 安装与使用

npm install @ringoarch/ant-climate

示例:解析 EPW 文件

import { parseEpwContent } from '@ringoarch/ant-climate';

const weatherData = parseEpwContent(rawString);
console.log(weatherData.header.location);

🛠 构建与保护

项目采用 Terser 进行混淆构建,确保在浏览器端安全运行的同时保护核心算法逻辑。

📜 许可证

MIT License

Dependencies

Dependencies

ID Version
@ringoarch/ant-building ^0.1.0

Development Dependencies

ID Version
@types/three ^0.184.0
esbuild ^0.28.0
jest ^29.0.0
rimraf ^5.0.0
three ^0.184.0
ts-jest ^29.0.0
typescript ^5.0.0
uglify-js ^3.17.0
Details
npm
2026-06-10 16:30:44 +08:00
3
23 KiB
Assets (1)
Versions (7) View all
0.1.12 2026-06-18
0.1.11 2026-06-18
0.1.10 2026-06-10
0.1.9 2026-06-10
0.1.8 2026-06-10