PHP JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PDF
bower_components
build
dist
images
includes
install
javascripts
lisences Working La-Kenak v5.0 Jan 17, 2018
pages
plugins
stylesheets Lakenakv5.0 core files Jan 14, 2018
theme Lakenakv5.0 core files Jan 14, 2018
tmp
.htaccess
LICENSE
README.md
index.php

README.md

La-kenak V.5.0

Energy calculations in Greece (K.EN.A.K. legislation)

GitHub forks GitHub stars GitHub issues GitHub license

14/1/2018 - Right now the code is being uploaded in pieces. Keep up for the few more days.

20/1/2018 - Crusial update of chapter study (pdf). Fewer errors and warnings. Rewrite some calculations

Introduction

La-kenak -- is an open-source php,js,mysql software helping engineers build a construction only by the dimensions of its external elements (walls, windows, floors, roofs) to help in many ways:

  • xml file that is used in energy calculations through the software TEE-KENAK (based on EPA-NR) in Greece.
  • 3d dxf file to represent the structure in 3d space in cad software.
  • jpg floorplan with area measurement and obstacles table to be used in the energy certificate process.
  • WebGL 3d floorplan in the browser for the engineer to analyze the structure (especially for passive building analysis).
  • Html and PDF export of the energy study to be used in text processors as a template for the actual study for civil offices.
  • Calculations during the energy studies that without the software depend on many data and take a lot of time.
  • Viewing 600-700 pages of data from the Greek legislation that otherwise require a lot of reading and effort.

"La-kenak v.5.0"

Used libraries

  • AdminLTE.IO Higly responsive template based on Bootstrap 3 without any changes in the core of the template.
  • The original components (bower_components) used in AdminLTE.IO template with no changes (just the libraries).
  • Bootstrap 3 as the base template framework with some changes in colors.
  • Bootstrap 3 enhancements like bootstrap-editable, bootstrap-slider, bootstrap-wysihtml5 and some more for making life easier with the interface.
  • Medoo PDO Library for quering to the mysql database.
  • Jquery and Jquery UI for easing out some javascript.
  • ckeditor as the main text-editor.
  • phpword and phpexcel to export to editable formats.
  • tcpdf and fpdi to export to non-editable formats (but more stylish).
  • PDFMerger created by Jarrod Nettles for reducing the payload to the server in producing PDFs.
  • html to docx for fast phpword export.
  • pchart 2.0 for some small climate charts.
  • filemanager to give control over files to the user.
  • three.js with csg.js and ThreeCSG.js** to show the building model in 3d.
  • dxfclass to produce the 3d dxf.
  • phpmathpublisher to produce some equation images.
  • jQuery-File-Upload Widget to help in user images.
  • suncalc js library by mourner as the js library for sun position.
  • suncalc php library as the js library for sun position.
  • iconarchive as an icon library for the user interface.
  • class upload php for uploading and resizing the user image.
  • Various and long list articles and documentation about all the above.
  • Google Login Auth for helping creating an account.
  • Google maps api (this software is free for everyone to use).
  • OpenStreetMaps OSM as a free mapping service.
  • Open Layers with OSM, Ktimatologio base-layers.

A working example is available in www.chem-lab.gr/lakenak

Installation Guide

Visit WIKI for the most updated guide regarding installing the software.

Looking for a portable version?

Visit this link for a portable web server with the software. If you use xampp or the portable version for the first time you need to install vc11 2012 vc redist.x86.exe first for php 5.4+ as suggested in uwamp download section.

Contribution

Contribution are welcome and recommended! Here is how:

License

La-kenak is an open source project that is licensed under GPLv3 Lisence (the files and calculations). All the libraries keep their lisencing.

Ready to use release - Dependancies on install

Keep in mind that this is written in a server side language (php) with a mysql database behind so this has to be inside a websserver environment with PHP. Also Apache is a good option and phpmydmin makes life easier for mysql entries. So under windows install it using xampp or mampp or any other web server.

A ready to use version (out of the box for ex. in a usb stick) will be provided soon.
For a web-server implementation several changes have to be made mainly in the text production and saving to mysql (right now LARGETEXT is used to store the text chapters in the database which incresses the DB dramatically). Some limits have been implemented for this reason. You can change those limits by the administration interface for every user or the main user.

  • PHP version >5.4 (as PDO was used in medoo)
  • mysql
  • javascript enabled browsers (all browsers are supported exept old explorer)
  • webgl capable browser for the 3d building menu
  • Google maps api for the google maps implementations (used geocoder, elevation data)
  • Google auth api (if users will be login in through google accounts)

Image Credits

Donations

Donations are greatly appreciated! and welcome by contacting the author. Remember: This is a 6 year old project taking a lot of time and effort.