[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EnergyPlus_Support] Erl - Counting the time steps
- To: EnergyPlus_Support@xxxxxxxxxxxxxxx
- Subject: [EnergyPlus_Support] Erl - Counting the time steps
- From: "Farhang" <farhang223@xxxxxxxxx>
- Date: Mon, 03 Oct 2011 16:57:57 -0000
- Delivered-to: mailing list EnergyPlus_Support@xxxxxxxxxxxxxxx
- Delivery-date: Mon, 03 Oct 2011 10:58:01 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoogroups.com; s=lima; t=1317661080; bh=O+Qp7fHrL8SJu+khNhaHFCrGMk23t0CCfLnh2ffLl4M=; h=Received:Received:X-Yahoo-Newman-Id:X-Sender:X-Apparently-To:X-Received:X-Received:X-Received:X-Received:X-Received:To:Message-ID:User-Agent:X-Mailer:X-Originating-IP:X-eGroups-Msg-Info:X-Yahoo-Post-IP:From:X-Yahoo-Profile:Sender:MIME-Version:Mailing-List:Delivered-To:List-Id:Precedence:List-Unsubscribe:Date:Subject:Reply-To:X-Yahoo-Newman-Property:Content-Type:Content-Transfer-Encoding; b=s3z12LPfuckWDYbSMHsTVzk3ocVN1ao8m7Yjk7Bq22lLe9ROZTrYORZw+KN2kUA5UFyno6E4yQOQ2MfSpddPDR28dxKV2YEx5B5i7bu1j1v7+PBaz7MHd0ASkv5XhKwo
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=lima; d=yahoogroups.com; b=iVusBeEBNMIYOtfcupDMhexfo4uoCFmmB8fHSdDG2NG6tC4uCgbMUzPvWbny8dQcSzL9/3hi880/7u/EPeilJsn6Oyf7R/7alXHrvBUuIQJFdJryX0ViQKGSgN0MoUR3;
- Envelope-to: linda@xxxxxxxxxxxxxx
- List-id: <EnergyPlus_Support.yahoogroups.com>
- List-unsubscribe: <mailto:EnergyPlus_Support-unsubscribe@yahoogroups.com>
- Mailing-list: list EnergyPlus_Support@xxxxxxxxxxxxxxx; contact EnergyPlus_Support-owner@xxxxxxxxxxxxxxx
- Reply-to: EnergyPlus_Support@xxxxxxxxxxxxxxx
- Sender: EnergyPlus_Support@xxxxxxxxxxxxxxx
- User-agent: eGroups-EW/0.82
I have an Erl program like this:
EnergyManagementSystem:Program,
R2Calculation, !- Name
set n = n + 1, !- Program Line 1
set R2 = n * ... ; !- Program Line 2
I use the variable "n" to count the time steps. I put this program in "EndOfZoneTimestepBeforeZoneReporting" but the variable counts the time steps of warmup period as well which I do not want.
How can I define a variable that has the value of 1 at the first step of running period and counts the steps afterward?
------------------------------------
Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx
The primary EnergyPlus web site is found at:
http://www.energyplus.gov
The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/
Attachments are currently allowed but be mindful that not everyone has a high speed connection. Limit attachments to small files.
EnergyPlus Documentation is searchable. Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/EnergyPlus_Support/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/EnergyPlus_Support/join
(Yahoo! ID required)
<*> To change settings via email:
EnergyPlus_Support-digest@xxxxxxxxxxxxxxx
EnergyPlus_Support-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/