Unit System: Difference between revisions

From GREET.net Help
Jump to navigation Jump to search
Line 8: Line 8:


====Preferences from General Settings====
====Preferences from General Settings====
[[File:GeneralSettingsPrefernces.png|thumb|right|400px|Change Unit Options Using General Settings]]
Units can be adjusted via the "General Settings" page of Greet. To access the "General Settings" press "Preferences" and choose "General Settings". A window should pop up similar to the one shown on the right. The unit settings can be adjusted via the "Preferred Units" tab. This tab should be selected by default when opening "General Settings".  
Units can be adjusted via the "General Settings" page of Greet. To access the "General Settings" press "Preferences" and choose "General Settings". A window should pop up similar to the one shown on the right. The unit settings can be adjusted via the "Preferred Units" tab. This tab should be selected by default when opening "General Settings".  



Revision as of 19:17, January 17, 2012

Unit System

How it works

Setting Unit Preferences

The primary reason for creating a flexible unit system was to allow a user to change the way various parameters are displayed. The design now allows users to view input parameters and results in imperial units if that is what they are familiar with, or S.I. units if they prefer, or create their own units entirely. In addition the user has the ability to define the unit in which they would want to input their data. For example if your one set of data is in pounds, and your second set of data is in kilograms you can adjust the software to fit your application, and avoid tedious manual unit conversions.


Preferences from General Settings

Change Unit Options Using General Settings

Units can be adjusted via the "General Settings" page of Greet. To access the "General Settings" press "Preferences" and choose "General Settings". A window should pop up similar to the one shown on the right. The unit settings can be adjusted via the "Preferred Units" tab. This tab should be selected by default when opening "General Settings".

Once open you will be presented with a table. This table can be used to adjust unit preferences. The first column represents what type of unit, the second represents its default unit and the third column represents the user preferred unit. The third column can be modified by using the tiny gray down arrows that reveal a drop down menu of available units. For example with the current settings shown in the screen shot process inputs will be displayed in BTU's. However, if I were to utilize the drop down menu and choose J (for joules) as the user defined unit for energy the inputs will be displayed in Joules instead.

Other settings can also be adjusted via the "Preferred Units" tab. These settings pertain to how the numbers are displayed in the selected units. If the "Automatically add prefixes" check box is checked the software will automatically display numbers like 1000000 btu as 1 mmbtu for aesthetics, if toggled off it will just display 1000000 btu. In addition because number can be represented in so many ways the user has three main ways to view numbers in Greet. Currently in the screen shot shown "Display Numbers with database preferences" is selected. This is fine for most cases. However, the user also has the ability to "Display number with maximum precision". Using this option will display all 16 digits of precision Greet uses in calculations. Alternatively you can also select "Display number in scientific notation", and specify the "Significant digits to use".

Preferences from textbox context menu

Change Unit preferences from the context menu

The preferred unit for a parameter can also be changed by right clicking on a textbox and going to "Change Unit". This will open a small window which allows changing what unit the value will be displayed in. If the value has multiple units associated with it, such as with the "Heating Value Liquid" in the picture below, then the preferred unit can be selected for each unit group.

Note that changing the preferred units in this way will still change the unit of all other parameters of that unit group so in this case all "Heating Value Liquid" parameters will be affected with the new unit selection.

To switch back to the original units simply follow the same procedure and select the previous units chosen. Their is no harm in switching back and forth the unit system was implemented for the convenience of scientists and engineers to avoid worrying about trivial unit systems.