[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EnergyPlus_Support] Energy+.IDD



Thanks for the explanation.

 

One of the problems I faced when developing ArDOT is that EnergyPlus only allows one instance of the application per machine. I assume that EnergyPlus makes some temp files like in.idf while running a particular simulation. Running multiple instances (after recompiling E+ and allowing multiple instances) at the same time may create file access and permissions problems. The problem is acute, when somebody wants to run EnergyPlus as a server.

 

One solution is to force user to use EnergyPlus executable in their machine (client) from via HTTP calls, which is not a secure thing to do.

 

Is there any workaround to the problem?

 

Monjur

 

-----Original Message-----
From: Linda Lawrie [mailto:linda@xxxxxxxxxx]
Sent
:
11 September 2003 16:18
To: monjur@xxxxxxxxx
Subject: RE: [EnergyPlus_Support] Energy+.IDD

 

At 10:05 AM 9/11/2003, Monjur M Mourshed wrote:


2. Regarding UPPERCASE or UpperLowerCase, my feeling is that - E+ should
stick to one standard. If you allow both, interface developers have to
check for both, don't they?


Internally, I convert all lines to uppercase before I start parsing them.  So, it doesn't matter.

in your instance, if you leave it case sensitive, you have to check for more than "both"....

DesignDay
DESIGNDAY
designday
dEsignday
dESignday
<etc>

all mean the same thing to EnergyPlus.  And checking for all possibilities will consume far more computing resources than just converting and checking for what you then know to be the "case" (pun not intended but noticed).

VB allows for comparison (case insensitive) of strings automatically, while internally there may be more resources expended, the programmatic use is automatic.

In other words, we are going to allow our module developers and others to use the kind of case in their object naming as they want.  And we may change it in the IDD to make it more readable (i.e. to use upper/lower case) but we will not go "case sensitive" for keyword/object naming.  (Nor for other parts of EnergyPlus input)

I believe we cover the philosophy in both the Interface Developers guide as well as the intro in the IOReference.  If we don't we probably should.


Linda

EnergyPlus WebSite: http://www.energyplus.gov
Owner: EnergyPlus_Support list
Member: EnergyPlus Development Team