genskyvec binary

Is anyone looking at converting genskyvec from a perl script to compiled code at all?

[IES]<http://www.iesve.com/>

Palbinder Sandher
Software Platform Engineer

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com<http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP

Email Disclaimer<http://www.iesve.com/disclaimer.html>

No one that I know of. What is the issue? It's pretty fast, so I assume you're looking to eliminate a dependency.

Rob Guglielmetti
NREL Commercial Buildings Research Group
Golden, CO 80401
[email protected]

···

-----Original Message-----
From: Pally Sandher [[email protected]<mailto:[email protected]>]
Sent: Friday, March 07, 2014 01:31 PM Mountain Standard Time
To: [email protected]
Subject: [Radiance-dev] genskyvec binary

Is anyone looking at converting genskyvec from a perl script to compiled code at all?

[cid:[email protected]]<http://www.iesve.com/>

Palbinder Sandher
Software Platform Engineer

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com<http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP

Email Disclaimer<http://www.iesve.com/disclaimer.html>

It requires a Perl environment to run which isn’t as user friendly as a regular binary.

I’ve packed it into an executable using PAR::Packer but in my benchmark tests it’s about 20-30% slower than running the perl script since it has to decompress itself to a temporary location before it runs then clean itself up afterwards. When you’re running hourly sims for a full year (around 6000 sims discounting the hours without daylight) that 20-30% mounts up significantly (my benchmark went from 45 minutes down to 28 when switching to running the perl script instead of the packed binary).

This is on Windows using Strawberry Perl for all my Perl environment needs BTW.

[IES]<http://www.iesve.com/>

Palbinder Sandher
Software Platform Engineer

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com<http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP

Email Disclaimer<http://www.iesve.com/disclaimer.html>

···

From: Guglielmetti, Robert [mailto:[email protected]]
Sent: 07 March 2014 20:55
To: 'code development'
Subject: Re: [Radiance-dev] genskyvec binary

No one that I know of. What is the issue? It's pretty fast, so I assume you're looking to eliminate a dependency.

Rob Guglielmetti
NREL Commercial Buildings Research Group
Golden, CO 80401
[email protected]

-----Original Message-----
From: Pally Sandher [[email protected]<mailto:[email protected]>]
Sent: Friday, March 07, 2014 01:31 PM Mountain Standard Time
To: [email protected]
Subject: [Radiance-dev] genskyvec binary

Is anyone looking at converting genskyvec from a perl script to compiled code at all?

[IES]<http://www.iesve.com/>

Palbinder Sandher
Software Platform Engineer

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com<http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP

Email Disclaimer<http://www.iesve.com/disclaimer.html>

If you are using the Perez Sky Model, I would suggest you to use GENDAYMTX
somehow. Maybe write a 1-hour "wea" file, and run that program. Makes sense?

Bye

···

2014-03-17 7:42 GMT-03:00 Pally Sandher <[email protected]>:

It requires a Perl environment to run which isn't as user friendly as a
regular binary.

I've packed it into an executable using PAR::Packer but in my benchmark
tests it's about 20-30% slower than running the perl script since it has to
decompress itself to a temporary location before it runs then clean itself
up afterwards. When you're running hourly sims for a full year (around 6000
sims discounting the hours without daylight) that 20-30% mounts up
significantly (my benchmark went from 45 minutes down to 28 when switching
to running the perl script instead of the packed binary).

This is on Windows using Strawberry Perl for all my Perl environment needs
BTW.

[image: IES] <http://www.iesve.com/>

*Palbinder Sandher*
*Software Platform Engineer*

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com

**Design, Simulate + Innovate with the *<Virtual Environment>***

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
G20 0SP

Email Disclaimer <http://www.iesve.com/disclaimer.html>

*From:* Guglielmetti, Robert [mailto:[email protected]]
*Sent:* 07 March 2014 20:55
*To:* 'code development'
*Subject:* Re: [Radiance-dev] genskyvec binary

No one that I know of. What is the issue? It's pretty fast, so I assume
you're looking to eliminate a dependency.

Rob Guglielmetti
NREL Commercial Buildings Research Group
Golden, CO 80401
[email protected]

-----Original Message-----
*From: *Pally Sandher [[email protected]]
*Sent: *Friday, March 07, 2014 01:31 PM Mountain Standard Time
*To: *[email protected]
*Subject: *[Radiance-dev] genskyvec binary

Is anyone looking at converting genskyvec from a perl script to compiled
code at all?

[image: IES] <http://www.iesve.com/>

*Palbinder Sandher*
*Software Platform Engineer*

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com

**Design, Simulate + Innovate with the *<Virtual Environment>***

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
G20 0SP

Email Disclaimer <http://www.iesve.com/disclaimer.html>

_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

--
*Germán Molina L.*
Ingeniero Trainee
Hunter Douglas Chile S.A.
Celular +569 89224445

--

*Nota de Confidencialidad:* Este mensaje incluído los archivos adjuntos son
confidenciales y pueden contener informacion privilegiada protegida por
ley. Si Ud. no es el destinatario, deberia abstenerse de copiarlo,
distribuirlo, divulgarlo o usar la informacion contenida. Por favor, avise
inmediatamente al emisor y borre este mensaje de su sistema. Los mensajes
electronicos son susceptibles de ser cambiados, infectados o adulterados
sin autorizacion. No asumimos responsabilidad alguna por ninguna clase de
cambios o sus consecuencias. Usted debe estar informado que la compania
puede hacer un seguimiento de sus mensajes electronicos y su contenido,
gracias.

*Confidentiality Notice:* The information contained in this email message,
including any attachment, is confidential and is intended only for the
person or entity to which it is addressed. If you are neither the intended
recipient nor the employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that you may not review,
retransmit, convert to hard copy, copy, use or distribute this email
message or any attachments to it. If you have received this email in error,
please contact the sender immediately and delete this message from any
computer or other data bank, Thank you.

A informação transmitida é confidencial e para conhecimento exclusivo do
destinatário. Sua utilização, não autorizada, constitui crime passível de
prisão. Todas as precauções possíveis foram tomadas para garantir que este
e-mail não contenha vírus. Uma vez que nossa empresa não pode assumir
responsabilidade por nenhuma perda ou dano causado por este e-mail ou de
seus anexos, recomendamos que o destinatário utilize seus procedimentos de
antivírus antes de qualquer uso.

OK yeah that's what I assumed. Good point about the load time, given the typical use case for gendaymtx (i.e. hourly calls). German's tip may be useful, since you can use epw2wea (a C program) to generate the hourly .wea files you'd need for that, but that's still a lot of annoying i/o. We do have some methods for dealing with OpenStudio's (many) dependencies — including perl — internally to OpenStudio, which may be of interest, Pally.

- Rob

···

From: Pally Sandher <[email protected]<mailto:[email protected]>>
Reply-To: code development <[email protected]<mailto:[email protected]>>
Date: Monday, March 17, 2014 at 4:42 AM
To: code development <[email protected]<mailto:[email protected]>>
Subject: Re: [Radiance-dev] genskyvec binary

It requires a Perl environment to run which isn’t as user friendly as a regular binary.

I’ve packed it into an executable using PAR::Packer but in my benchmark tests it’s about 20-30% slower than running the perl script since it has to decompress itself to a temporary location before it runs then clean itself up afterwards. When you’re running hourly sims for a full year (around 6000 sims discounting the hours without daylight) that 20-30% mounts up significantly (my benchmark went from 45 minutes down to 28 when switching to running the perl script instead of the packed binary).

This is on Windows using Strawberry Perl for all my Perl environment needs BTW.

[cid:[email protected]]<http://www.iesve.com/>

Palbinder Sandher
Software Platform Engineer

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com<http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP

Email Disclaimer<http://www.iesve.com/disclaimer.html>

From: Guglielmetti, Robert [mailto:[email protected]]
Sent: 07 March 2014 20:55
To: 'code development'
Subject: Re: [Radiance-dev] genskyvec binary

No one that I know of. What is the issue? It's pretty fast, so I assume you're looking to eliminate a dependency.

Rob Guglielmetti
NREL Commercial Buildings Research Group
Golden, CO 80401
[email protected]<mailto:[email protected]>

-----Original Message-----
From: Pally Sandher [[email protected]<mailto:[email protected]>]
Sent: Friday, March 07, 2014 01:31 PM Mountain Standard Time
To: [email protected]<mailto:[email protected]>
Subject: [Radiance-dev] genskyvec binary

Is anyone looking at converting genskyvec from a perl script to compiled code at all?

[cid:[email protected]]<http://www.iesve.com/>

Palbinder Sandher
Software Platform Engineer

T:

+44 (0) 141 945 8500

F:

+44 (0) 141 945 8501

http://www.iesve.com<http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP

Email Disclaimer<http://www.iesve.com/disclaimer.html>