[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EnergyPlus_Support] How To Change Warning into Fatal Error? (schedule:file CSV line endings)
- To: EnergyPlus_Support@xxxxxxxxxxxxxxx
- Subject: [EnergyPlus_Support] How To Change Warning into Fatal Error? (schedule:file CSV line endings)
- From: "Ryan_Element" <ryan_element@xxxxxxxxx>
- Date: Thu, 11 Oct 2012 16:52:59 -0000
- Delivered-to: mailing list EnergyPlus_Support@xxxxxxxxxxxxxxx
- Delivery-date: Thu, 11 Oct 2012 10:53:03 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoogroups.com; s=lima; t=1349974382; bh=a0t0kWJDsmxb8zDZGNBBM8OnKmtus6bLZ/CEj6Mb1Ks=; 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=mPSdN8mqOmnuSMN2ngUVvKhFsvMgUoBqAulHT3TENMH9xqIj98P5pSdiPzAw4a0BLl87Fo2Cr5EBy7qlW/0lR9cO2fnnrXrZ85Ugsu7TOypA5eN3m9vDANR2aQ8Y94zb
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=lima; d=yahoogroups.com; b=oa6e72RXOS57KvUY0w3MknAah8tR/JI/zj5/gBv0/JY8BccXLFACR4kUOi7bCDarhe+MUjBk/Gpn9v2y9CjRjzX0Q0SAKoe4scvTysG/6O3IC/bzfgJEoWkWpTmrYxZx;
- 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
Greetings,
I would like to change certain energyplus-warnings into fatal errors, so that
instead of running after issuing a certain warning, the simulation will be
terminated.
I found the Output:PreprocessorMessage object in the I/O reference, but I'm not
sure how to use it - or even if it's the right approach.
WHY would I want this, you ask? Because there is one warning (IMO) that should
be an error, and should cause the simulation to terminate...I use the
schedule:file object to reference several schedules stored in a CSV file.
Occasionally I edit this CSV file using excel on my apple computer. When I save
the CSV file in excel, the line-endings are set as
macintosh-text-file-line-endings. After saving the CSV with mac-based-line
endings, I run my energyplus simulation on my apple computer. Sadly, energyplus
cannot read text files with mac-based line-endings, so it issues a warning to
that effect, but continues to run - WITHOUT the schedules it was intended to
use.
I can circumvent this issue by re-saving the CSV file in a text editor and
specifying that it should have unix-based-line-endings. With
unix-based-line-endings, the file is readable by energyplus, and my simulation
works properly. This is truly annoying, as I edit the CSV file regularly, and
don't want to go through the additional steps of re-saving it with unix-based
line-endings each time. It is also annoying because IF I forget to re-save the
CSV file, the simulation still runs without an error, and I don't realize that
anything is amiss until I view the bogus results, ponder why the results are
bogus, remember to check on the CSV file line-endings, and so on.
Thanks for your help
Ryan
------------------------------------
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/