Welcome to the TRNSYS Users Forum.

The forum is a place where people can interact and have discussions about different topics involving the use of the TRNSYS software package. Here you can post topics for discussion or questions on using TRNSYS and get advice from other users or TRNSYS experts. This forum is not intended for detailed technical support. Users should contact their distributor’s hotline for such assistance.

Some tips for success on using the forum:

  • Follow the Forum Rules posted in Forum Administration.
  • There are categories for different types of topics and questions. Post your topic or question into the proper category.
  • Before posting a topic or question search the existing topics  (and the TRNSYS Users listserv archive) to see if a similar topic or question has already been answered.
  • Use a descriptive topic name. Don’t use attention getting subjects, they don’t get attention and only annoy people.
  • State the version of TRNSYS and which add-ons your are using.
  • Include enough specific details for your topic of question to be answered. Just posting “Why am I getting an error?” without describing the specific error and what you are trying to do when you get the error will not receive a response that fixes your issue.
  • Remember when people help you, they are doing you a favor. Be patient, help people out by posting good descriptions of what you need help with, and be polite even if a response does not solve your issue.
  • Moderators may edit your post for clarity or move your topic to a more appropriate category.

Notifications
Clear all

Rock bed storage (Type 10) - Discretization of the partial differential equation

1 Posts
2 Users
0 Likes
290 Views
0
Topic starter

Dear all Transys users,

Hi,

There are a few questions I have regarding discretization of Type 10 (Rock bed storage tank) represented on page 560 in the "04-MathematicalReference" document.

1 - What are the boundary conditions for the first and last segments?

2- What finite difference method is used for discretizing the space second derivatives for the first and last segments?

It would be greatly appreciated if anyone could provide me with some guidance in this regard.

 

Best Regards,

Ali

 

 

1 Answer
0

Ali,

The rock bed storage model is more similar to a tank model than it is to a ground storage model. As such, it does not have boundary conditions quite like you would find with another solid state storage model, like a ground storage model (adiabatic boundary, conduction to far field at boundary, conduction or convection to ambient air at boundary, and so forth).  

For each segment (or node) of the storage bed, the model calculates the change in internal energy of that node over the time step as a function of only the following influences:

  1. The temperature and flow rate of the air entering this node from above (if any);
  2. The temperature and flow rate of the air entering this node from below (if any);
  3. Conduction to the node immediately above this node (unless it's the top node of the storage bed);
  4. Conduction to the node immediately below this node (unless it's the bottom node of the storage bed);
  5. Thermal losses between this node and the ambient environment. These are calculated as a function of the vertical surface area of each node, the loss coefficient of the bed (Parameter 7), and the environment temperature (Input 5). The model does not assume any additional losses to the environment from the top or bottom surface of the storage bed, only from the vertical sides of the bed. 

In the first node of the storage bed, there is no conduction to the node immediately above, and (if there is air flow from top to bottom) the temperature of the entering air is set to "Temperature into top" (Input 1 in Type 10's proforma), otherwise the equations are the same as for any other node. In the last node of the storage bed, there is no conduction to the node immediately below, and (if there is air flow from bottom to top) the temperature of the entering air is set to "Temperature into bottom" (Input 3 in Type 10's proforma), otherwise the equations are the same as for any other node.

Equations 4.10.1-6 through 4.10.1-11, found on pages 4-561 and 4-562 of the Mathematical Reference, spell out how the energy balances are calculated for a storage bed with N nodes at node i = 1 (the first segment), nodes 2 through N - 1, and node i = N (the last segment) for both top-to-bottom and bottom-to-top air flow cases. 

 

Share: