Logo name

Solution

From Piki

  • Currently0.00/5
Jump to: navigation, search

A solution is the primary organizational unit in Synapse. It is the

Contents

Content

The contents of a solution is an aggregate of all states reported in by all used components. There are two main branches of the aggregation, one being the structure with the control system and all blocks and the other being the resources containing all the data units and the scaling and normalization data.

The graphical parameters (zoom, position etc) are saved as well.

Data

The data loaded by an input format will be saved by reference. That means that if you for instance load your data from a file the format will typically save the path to the file but not the actual content. You can override this by embedding the data into the solution using the data unit manager.

Ultimately however it is the input format that decides how its state is stored.

What is not saved

There are some system states that are considered transitional and thus not saved:

Data format

The solution data format is XML based.

The standard file format has the .synx extension and is a bzip2 compressed file. You can also save the solution as a plain text XML file (.xml) but it potentially increases the file size several orders of magnitude.

The layout of the solution in XML format looks roughly like this:

<?xml version="1.0" encoding="Windows-1252"?>
<Solution Name="Solution" Date="3/12/2008 12:00:00 AM" Author="Peltarion">
  <Context>
    <Scale>
     ... Scaling data
    </Scale>
    <Units>
      .. Data units
    </Units>
  </Context>
 
  <WorkArea>
   ..System topoloy
  </WorkArea>
</Solution>

Large regions of numeric data (such as weights or embedded data units) are always stored in a compressed format even in the plain text XML (bzip2 compressed and base64 encoded).

See also

This page was last modified 12:59, 6 April 2008.  This page has been accessed 699 times.  Disclaimers