When running an elastis analysis on a model containing a seismic load you get the error:

*ERROR: One or more errors occurred.*

* at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)*

* at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)*

* at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)*

* at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body)*

* at DiamondsCalculations.DiamondsModel.SeismicAnalysis(Int32 prref)*

# Solution

The file probably contains two (or more) independant structures (= structures between which no internal forces can be transferred like in the image below). Make a Diamonds model for each of the structures.

It is not recommended to do a seismic calculation for two independent structures in the same model because the results can give the wrong impression.

For example: we want to do a seismic calculation for the beam and column model above. The seismic calculation is valid if sufficient eigen modes are taken into account. ‘Sufficient eigen modes’ is measured by the effective modal mass. Since the effective modal mass is shown for all elements in the model, you cannot track if the effective modal mass results from the beam model or the column model. Thus it is possible that the larger part of the effective modal mass is in the beam model. This results in accurate results for the beam model, but not for the column model. This is not an issue when you make two files: one for the beam, one for the column.