This dataset contains a model file for simulating high-voltage power system capacitors in COMSOL Multiphysics, available under a CC BY-SA 4.0 license. This file is intended to help configure and set up a model for a given design, but it remains far from perfect and still requires careful attention. By nature of the file, it is not immediately user friendly and contains complicated Geometry, Mesh, Definition, and Postprocessing sequences. I have tried to iteratively improve it as my project has progressed, and while its reconfigurabililty has been useful to me, I'm confident it could be made simpler and further extended. The associated dissertation offers details and commentary on why I have pursued this 'reconfigurable' model approach at the expense of simplicity. In an attempt to offer an introduction to using this model and facilitate reconfiguration I outline practical steps below. Calum August 2021. ======================================================================================================================================================= Preliminary Process for Model Reconfiguration 1. The first step in reconfiguring the model is to check the desired changes are reflected in the model Geometry while amending the parameters. Choose stackWidth to set margins on series elements. 2. The second step is to check that a mesh sequence compiles without errors while making adjustments (if necessary) to the Definitions used. Changes might be necessary, but there should only be few required: although swept mesh nodes can give rise to 'no source' errors, their source and destination fields are left intentionally blank as previous steps in the sequence are designed to have already meshed these, so such errors are due to previous mesh sequence nodes. 2.1 The first step in configuring a mesh is to have the 'foil volume' meshed, which might require tweaks to the Definitions used in order to capture the central part of the winding stack (where adjacent layers are flat). 2.2 The second step is to mesh the turns of each winding within the 'growth gap' layer, by selecting a definition to apply a mapped mesh to one end of the turns such that the detail of a cross-section is included in the mesh, before this is swept throughout the windings so that Depending on the orientation of the windings within the unit, the first two "growthGap face" items in mesh sequence should be chosen to select the faces at one end of the windings. 2.3 The third step is applied to the remaining components of the unit and should (hopefully) fit around the mesh applied to the changeable central windings such that a minimum of manual intervention is required at this stage. 3. The third step in configuring a model is to ensure definitions are applied to specify each of the winding layers such that these can then be used in physics studies. Under the 'element' groups there is an initial X- Y- or Z-aligned layer definition which can be referred to by the next node in the sequence, such that a 'diff' node will eventually define all the layers of a terminal for up to 40 turns. 3.1 The 'growthGap perpendiculars' node will likely have to be updated to accommodate changes to the winding orientation or design. 3.2 For each of the element sequences, the first two 'adj and diff' nodes will have to refer to the correct initial definition (which should select one boundary of the desired element). 'Spacers' (element margins) and perpendiculars are subtracted from each iteration to keep the definition to the intended winding, but the series of definitions which comprise the subtracted boundary definition remain largely ill-defined so some manual debugging and problem solving is probably required at this stage (it's possible to see how the definition propagates by selecting 'diff' nodes at different points in the sequence). 3.3 In the event you need more element sequences than are listed under the Definitions node, there is a group entitled 'elementN' which can be duplicated and renamed according to a suitable naming convention to create new sequences for individual foils. The individual nodes in these beginning sequences have to be configured to appropriately capture the foils in a winding: 1. the 'def' node should select one of the foil layers of the intended winding; 2. the 'adj' nodes should refer to the correct ('def' or) 'diff' node prior to it in the sequence; and 3. each 'diff' node has to refer to the previous two nodes while subtracting boundaries which lie perpendicular to the foil direction, and spacer margins between elements (where one of two alternating margin arrangements is required for interleaved winding designs). 4. the AdjacentSequenceExtender method can be used where the final two nodes in a sequence are an adjacent node and then a difference node one increment above the adjacent (the last digit in the name). The last two rows of parameters should use the tag numbers of the most recently created difference and adjacent nodes (this finds the difference which is used as an offset to allow a sequence to be extended even if it does not begin with the most recent adjacent and difference nodes.